/* =====================================================
   تالاریاب (talaryab.ir) - استایل اصلی
   طراحی موبایل-فرست | RTL | PWA
   ===================================================== */

/* ==================== Fonts ==================== */
@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Iranian Sans'), url('../fonts/IRANSansWeb.ttf') format('truetype');
}
@font-face {
    font-family: 'iransans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: local('Iranian Sans'), url('../fonts/IRANSansWeb_Bold.ttf') format('truetype');
}

/* ==================== CSS Variables ==================== */
:root {
    /* Colors */
    --primary:        #e11d48;
    --primary-dark:   #be123c;
    --primary-light:  #fb7185;
    --primary-soft:   #fff1f2;
    
    --accent:         #f59e0b;
    --accent-dark:    #d97706;
    --accent-soft:    #fffbeb;
    
    --success:        #16a34a;
    --success-soft:   #f0fdf4;
    --info:           #0ea5e9;
    --info-soft:      #f0f9ff;
    --warning:        #f59e0b;
    --danger:         #dc2626;
    --danger-soft:    #fef2f2;
    
    --bg:             #f8fafc;
    --card:           #ffffff;
    --text:           #1e293b;
    --text-muted:     #64748b;
    --text-light:     #94a3b8;
    --border:         #e2e8f0;
    --border-dark:    #cbd5e1;
    
    /* Gradients */
    --grad-primary:   linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    --grad-gold:      linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --grad-hero:      linear-gradient(135deg, #be123c 0%, #7f1d1d 100%);
    
    /* Shadows */
    --shadow-sm:      0 1px 2px rgba(0,0,0,.05);
    --shadow:         0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:      0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
    --shadow-lg:      0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl:      0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
    --shadow-primary: 0 10px 25px rgba(225,29,72,.2);
    --shadow-accent:  0 10px 25px rgba(245,158,11,.2);
    
    /* Radius */
    --radius-sm:      6px;
    --radius:         12px;
    --radius-md:      16px;
    --radius-lg:      20px;
    --radius-xl:      24px;
    --radius-full:    9999px;
    
    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space:     16px;
    --space-md:  24px;
    --space-lg:  32px;
    --space-xl:  48px;
    
    /* Layout */
    --container:     1200px;
    --header-h:      64px;
    --bottom-nav-h:  64px;
    
    /* Transitions */
    --t-fast:   .15s ease;
    --t:        .25s ease;
    --t-slow:   .35s ease;
}

/* ==================== Reset ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'iransans', Tahoma, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: var(--bottom-nav-h);
}

@media (min-width: 768px) {
    body { padding-bottom: 0; }
}

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.4;
    color: var(--text);
}

strong, b { font-weight: 800; }

::selection {
    background: var(--primary);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ==================== Container ==================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space);
}

@media (min-width: 768px) {
    .container { padding: 0 var(--space-md); }
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 800;
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: all var(--t-fast);
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    line-height: 1.4;
}

.btn:active { transform: scale(.97); }

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    box-shadow: var(--shadow-lg), var(--shadow-primary);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--grad-gold);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-ghost {
    background: var(--bg);
    color: var(--text);
}
.btn-ghost:hover { background: var(--border); }

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ==================== Forms ==================== */
.form-group {
    margin-bottom: var(--space);
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
}

.form-control,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text);
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--t-fast);
    font-family: inherit;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

::placeholder { color: var(--text-light); }

/* ==================== Header ==================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: var(--space);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 36px;
    width: auto;
}

.main-nav {
    display: none;
    align-items: center;
    gap: var(--space-md);
}

.main-nav a {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-muted);
    padding: 6px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

@media (min-width: 992px) {
    .main-nav { display: flex; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font-size: 18px;
}

@media (min-width: 992px) {
    .mobile-menu-btn { display: none; }
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t);
}
.mobile-drawer.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--card);
    padding: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--t);
    overflow-y: auto;
}
.mobile-drawer.active .mobile-drawer-panel {
    transform: translateX(0);
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: var(--space-md);
}

.mobile-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    border-radius: var(--radius);
    transition: all var(--t-fast);
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.mobile-drawer-nav a i {
    width: 20px;
    color: var(--text-muted);
}
.mobile-drawer-nav a:hover i,
.mobile-drawer-nav a.active i { color: var(--primary); }

/* ==================== Hero ==================== */
.hero {
    position: relative;
    padding: var(--space-xl) 0;
    background: var(--grad-hero);
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(245,158,11,.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: #fff;
    font-size: clamp(24px, 5vw, 44px);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.hero p {
    color: rgba(255,255,255,.85);
    font-size: clamp(14px, 2.5vw, 18px);
    margin-bottom: var(--space-md);
}

.hero-search {
    max-width: 640px;
    margin: 0 auto var(--space-lg);
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 6px 6px 6px 6px;
    box-shadow: var(--shadow-xl);
    gap: 8px;
}

.search-box i {
    color: var(--text-light);
    padding-right: 12px;
    font-size: 18px;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    background: transparent;
}
.search-box input:focus { box-shadow: none; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats .stat {
    text-align: center;
    padding: 0 var(--space);
    border-right: 1px solid rgba(255,255,255,.2);
}
.hero-stats .stat:first-child { border-right: none; }

.hero-stats strong {
    display: block;
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 800;
    color: var(--accent);
}

.hero-stats span {
    font-size: 12px;
    color: rgba(255,255,255,.8);
}

@media (max-width: 640px) {
    .hero { padding: var(--space-lg) 0; }
    .search-box { flex-direction: column; padding: 10px; }
    .search-box i { display: none; }
    .search-box input { width: 100%; text-align: center; padding: 10px; }
    .search-box .btn { width: 100%; }
}

/* ==================== Sections ==================== */
.section {
    padding: var(--space-xl) 0;
}

.section-alt {
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: clamp(20px, 3.5vw, 30px);
    color: var(--text);
    margin-bottom: 6px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    gap: var(--space);
}

.section-header-row h2 {
    font-size: clamp(18px, 3vw, 24px);
}

.section-header-row .see-all {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==================== Categories ==================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space);
}

@media (max-width: 640px) {
    .categories-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 12px;
        margin: 0 calc(-1 * var(--space));
        padding-left: var(--space);
        padding-right: var(--space);
        -webkit-overflow-scrolling: touch;
    }
    .categories-grid::-webkit-scrollbar { display: none; }
    .categories-grid .category-card {
        flex: 0 0 130px;
        scroll-snap-align: start;
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: var(--space-md) var(--space);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 26px;
    transition: all var(--t);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05) rotate(-5deg);
}

.category-card h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

.category-count {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==================== Hall Cards ==================== */
.halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
}

@media (max-width: 640px) {
    .halls-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.hall-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--t);
    cursor: pointer;
}

.hall-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.hall-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg);
}

.hall-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.hall-card:hover .hall-card-image img {
    transform: scale(1.08);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--text-light);
    font-size: 32px;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    border-radius: var(--radius-full);
    color: #fff;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.badge-featured {
    background: var(--grad-gold);
    box-shadow: var(--shadow-accent);
}

.badge-verified {
    top: 10px;
    right: auto;
    left: 10px;
    background: var(--success);
    padding: 6px 8px;
}

.hall-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.hall-card-body h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hall-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.hall-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hall-card-meta i {
    color: var(--primary);
    font-size: 10px;
}

.hall-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 12px;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 800;
    color: var(--text);
}

.rating i { color: var(--accent); }

.rating small {
    color: var(--text-muted);
    font-weight: 400;
}

.category-tag {
    padding: 3px 10px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
}

/* Featured card highlight */
.hall-card-featured {
    border: 2px solid var(--accent);
    box-shadow: 0 4px 20px rgba(245,158,11,.15);
}

.hall-card-featured .hall-card-image {
    aspect-ratio: 16 / 10;
}

/* ==================== CTA ==================== */
.cta-section {
    padding: var(--space-lg) 0;
}

.cta-box {
    background: var(--grad-primary);
    color: #fff;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.15) 0%, transparent 40%);
}

.cta-box > * { position: relative; }

.cta-box h2 {
    color: #fff;
    font-size: clamp(20px, 3.5vw, 28px);
    margin-bottom: 8px;
}

.cta-box p {
    color: rgba(255,255,255,.9);
    margin-bottom: var(--space-md);
    font-size: 15px;
}

.cta-box .btn {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-xl);
}
.cta-box .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px rgba(0,0,0,.2);
}

/* ==================== Page (Static) ==================== */
.page-section {
    padding: var(--space-lg) 0;
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: clamp(24px, 4vw, 36px);
    color: var(--text);
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 2;
    color: var(--text);
    font-size: 15px;
}

.page-content h2 {
    font-size: 22px;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--text);
}

.page-content h3 {
    font-size: 18px;
    margin: var(--space) 0 var(--space-sm);
}

.page-content p { margin-bottom: var(--space); }

.page-content ul,
.page-content ol {
    margin: 0 var(--space-md) var(--space) 0;
    padding-right: var(--space-md);
}

.page-content li { margin-bottom: 6px; }

.page-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* ==================== Search Page ==================== */
.search-page {
    padding: var(--space-lg) 0;
}

.search-header {
    margin-bottom: var(--space-lg);
}

.search-header h1 {
    font-size: clamp(22px, 4vw, 32px);
    margin-bottom: var(--space-md);
    text-align: center;
}

.search-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: var(--space);
    background: var(--card);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    align-items: end;
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }
}

.search-form .form-group { margin-bottom: 0; }

.search-results {
    text-align: center;
    padding: var(--space-lg) 0;
    color: var(--text-muted);
}

/* ==================== Footer ==================== */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: var(--space-lg) 0 var(--space-md);
    margin-top: var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
}

.footer-col h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: var(--space-sm);
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: var(--space-sm);
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
    color: #94a3b8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    font-size: 13px;
    color: #94a3b8;
    transition: all var(--t-fast);
}

.footer-col ul a:hover {
    color: var(--accent);
    padding-right: 4px;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* ==================== Bottom Navigation ==================== */
.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 90;
    height: var(--bottom-nav-h);
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -2px 10px rgba(0,0,0,.04);
}

@media (min-width: 768px) {
    .bottom-nav { display: none; }
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    transition: color var(--t-fast);
    position: relative;
}

.bottom-nav-item i {
    font-size: 20px;
    transition: transform var(--t-fast);
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    right: 25%;
    left: 25%;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
}

/* ==================== Utilities ==================== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space); }
.mt-4 { margin-top: var(--space-md); }
.mb-3 { margin-bottom: var(--space); }
.mb-4 { margin-bottom: var(--space-md); }
.hidden { display: none !important; }

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp .5s ease;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .5; }
}

.skeleton {
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 200% 100%;
    animation: pulse 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* ==================== Print ==================== */
@media print {
    .site-header, .site-footer, .bottom-nav, .btn { display: none !important; }
    body { padding: 0; background: #fff; }
}

/* =====================================================
   صفحه پروفایل تالار
   ===================================================== */

/* ==================== Breadcrumb ==================== */
.breadcrumb {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-size: 13px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-right: 8px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb li:last-child {
    color: var(--text);
    font-weight: 800;
}

/* ==================== Cover ==================== */
.hall-cover {
    padding: var(--space-md) 0;
}

.hall-cover-inner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: #f1f5f9;
}

@media (max-width: 640px) {
    .hall-cover-inner { aspect-ratio: 16 / 10; border-radius: var(--radius); }
}

.hall-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hall-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--text-light);
    font-size: 64px;
}

.hall-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 40%, transparent 70%);
}

.hall-cover-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: var(--space-md);
    color: #fff;
    z-index: 2;
}

@media (min-width: 768px) {
    .hall-cover-content { padding: var(--space-lg); }
}

.hall-cover-content h1 {
    color: #fff;
    font-size: clamp(22px, 4vw, 36px);
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.hall-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--grad-gold);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
    box-shadow: var(--shadow-accent);
}

.hall-cover-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space);
    font-size: 13px;
    color: rgba(255,255,255,.9);
}

.hall-cover-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hall-cover-meta i { color: var(--accent); }

.hall-rating-cover {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.hall-rating-cover i { color: var(--accent); }

/* ==================== Layout ==================== */
.hall-main {
    padding: var(--space-md) 0 var(--space-xl);
}

.hall-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-md);
}

@media (max-width: 992px) {
    .hall-layout { grid-template-columns: 1fr; }
}

/* ==================== Badges ==================== */
.hall-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-md);
}

.hall-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
}

/* ==================== Sections ==================== */
.hall-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.hall-section-title {
    font-size: 18px;
    color: var(--text);
    margin-bottom: var(--space);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-soft);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hall-section-title i {
    color: var(--primary);
    font-size: 18px;
}

/* ==================== Gallery ==================== */
.hall-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

@media (max-width: 640px) {
    .hall-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .hall-gallery-main {
        grid-column: span 2;
    }
}

.hall-gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--t-fast);
}

.hall-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.hall-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hall-gallery-main {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
}

@media (min-width: 641px) {
    .hall-gallery-main {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* ==================== Description ==================== */
.hall-description {
    font-size: 15px;
    line-height: 2;
    color: var(--text);
}

/* ==================== Amenities ==================== */
.hall-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.hall-amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--success-soft);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
}

.hall-amenity i {
    color: var(--success);
    font-size: 16px;
}

/* ==================== Services ==================== */
.hall-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.hall-service {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: var(--info-soft);
    border-radius: var(--radius);
}

.hall-service i {
    color: var(--info);
    font-size: 18px;
    margin-top: 2px;
}

.hall-service strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.hall-service small {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==================== Menus ==================== */
.hall-menus {
    display: grid;
    gap: 12px;
}

.hall-menu-card {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(to left, var(--card), #fafbfc);
    transition: all var(--t-fast);
}

.hall-menu-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.hall-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space);
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.hall-menu-header h3 {
    font-size: 15px;
    color: var(--text);
}

.hall-menu-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}

.hall-menu-price small {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 11px;
}

.hall-menu-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ==================== Location ==================== */
.hall-address {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    margin-bottom: var(--space);
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius);
}

.hall-address i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
}

.hall-map {
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e2e8f0;
    position: relative;
}

.hall-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 640px) {
    .hall-map { height: 240px; }
}

/* ==================== Reviews ==================== */
.hall-reviews {
    display: grid;
    gap: var(--space);
}

.hall-review {
    padding: var(--space);
    background: var(--bg);
    border-radius: var(--radius);
    border-right: 3px solid var(--primary);
}

.hall-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hall-reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hall-reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.hall-reviewer strong {
    display: block;
    font-size: 14px;
}

.hall-reviewer small {
    font-size: 11px;
    color: var(--text-muted);
}

.hall-review-rating i {
    color: var(--border-dark);
    font-size: 13px;
}

.hall-review-rating i.filled {
    color: var(--accent);
}

.hall-review-title {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text);
}

.hall-review-comment {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ==================== Sidebar Cards ==================== */
.hall-sidebar {
    display: grid;
    gap: var(--space);
    align-content: start;
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

@media (max-width: 992px) {
    .hall-sidebar { position: static; }
}

.hall-contact-card,
.hall-socials-card,
.hall-qr-card,
.hall-info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space);
}

.hall-contact-card h3,
.hall-socials-card h3,
.hall-qr-card h3,
.hall-info-card h3 {
    font-size: 16px;
    margin-bottom: var(--space);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-soft);
    color: var(--text);
}

/* Contact */
.hall-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.hall-contact-item:last-of-type {
    margin-bottom: var(--space);
    border-bottom: none;
}

.hall-contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.hall-contact-item small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.hall-contact-item strong {
    font-size: 14px;
    color: var(--text);
}

/* Socials */
.hall-socials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.hall-social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: var(--bg);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 800;
    transition: all var(--t-fast);
}

.hall-social-item:hover {
    background: var(--social-color, var(--primary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hall-social-item i {
    font-size: 18px;
    color: var(--social-color, var(--primary));
    transition: color var(--t-fast);
}

.hall-social-item:hover i { color: #fff; }

/* QR */
.hall-qr-card {
    text-align: center;
}

.hall-qr-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: var(--space);
}

.hall-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space);
    background: var(--bg);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.hall-qr canvas {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

/* Info */
.hall-info-list {
    list-style: none;
}

.hall-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 13px;
}

.hall-info-list li:last-child {
    border-bottom: none;
}

.hall-info-list i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.hall-info-list span {
    color: var(--text-muted);
}

.hall-info-list strong {
    margin-right: auto;
    color: var(--text);
}

/* ==================== Lead Modal ==================== */
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space);
    animation: fadeIn .2s ease;
}

.lead-modal[hidden] { display: none; }

.lead-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.7);
    backdrop-filter: blur(4px);
}

.lead-modal-box {
    position: relative;
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp .3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.lead-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--t-fast);
}

.lead-modal-close:hover {
    background: var(--danger-soft);
    color: var(--danger);
}

.lead-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space);
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: var(--shadow-primary);
}

.lead-modal-box h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 6px;
}

.lead-modal-box > p {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: var(--space-md);
}

.lead-modal-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: var(--space);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lead-modal-note i {
    color: var(--success);
}

.lead-modal-success {
    text-align: center;
}

.lead-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space);
    border-radius: 50%;
    background: var(--success-soft);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.lead-phones {
    display: grid;
    gap: 10px;
    margin-top: var(--space);
}

.lead-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 800;
    transition: all var(--t-fast);
    border: 2px solid transparent;
}

.lead-phone-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.lead-phone-btn i { font-size: 18px; }

.lead-phone-whatsapp {
    background: #dcfce7;
    color: #16a34a;
}

.lead-phone-whatsapp:hover {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 10px 25px rgba(22,163,74,.3);
}

/* =====================================================
   صفحه لیستینگ (دسته/شهر)
   ===================================================== */

/* ==================== Header ==================== */
.listing-header {
    padding: var(--space-md) 0;
    background: linear-gradient(135deg, #fff 0%, var(--primary-soft) 100%);
    border-bottom: 1px solid var(--border);
}

.listing-title {
    font-size: clamp(22px, 4vw, 32px);
    color: var(--text);
    margin-bottom: 6px;
}

.listing-count {
    font-size: 13px;
    color: var(--text-muted);
}

.listing-count strong {
    color: var(--primary);
    font-size: 15px;
}

/* ==================== Layout ==================== */
.listing-main {
    padding: var(--space-md) 0 var(--space-xl);
}

.listing-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-md);
    align-items: start;
}

@media (max-width: 992px) {
    .listing-layout { grid-template-columns: 1fr; }
}

/* ==================== Sidebar ==================== */
.listing-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space);
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
}

@media (max-width: 992px) {
    .listing-sidebar { display: none; }
}

/* ==================== Toolbar ==================== */
.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space);
    margin-bottom: var(--space);
    padding: 12px;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.mobile-filter-btn {
    display: none;
}

@media (max-width: 992px) {
    .mobile-filter-btn { display: inline-flex; }
}

.filter-count {
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    margin-right: 4px;
}

.listing-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.listing-sort label {
    color: var(--text-muted);
    white-space: nowrap;
}

.listing-sort select {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    min-width: 160px;
    cursor: pointer;
}

/* ==================== Active Filters ==================== */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space);
    padding: 12px;
    background: var(--accent-soft);
    border-radius: var(--radius);
    border: 1px solid #fde68a;
}

.active-filters-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--text);
}

.active-filter-chip {
    padding: 4px 10px;
    background: #fff;
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text);
    border: 1px solid var(--border);
}

.active-filters-clear {
    margin-right: auto;
    font-size: 12px;
    font-weight: 800;
    color: var(--danger);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==================== Filter Form ==================== */
.filter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.filter-group {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.filter-group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.filter-search {
    position: relative;
}

.filter-search i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px;
}

.filter-search input {
    padding-right: 40px;
    font-size: 13px;
}

.filter-range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.filter-range span {
    font-size: 12px;
    color: var(--text-muted);
}

.filter-range input {
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
}

.filter-check,
.filter-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: background var(--t-fast);
    color: var(--text);
}

.filter-check:hover,
.filter-radio:hover {
    background: var(--bg);
}

.filter-check input,
.filter-radio input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.filter-check i {
    color: var(--primary);
    font-size: 13px;
    width: 16px;
    text-align: center;
}

/* Stars */
.filter-stars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-star {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12px;
    transition: background var(--t-fast);
}

.filter-star:hover { background: var(--bg); }

.filter-star input { display: none; }

.filter-star i {
    color: var(--border-dark);
    font-size: 12px;
}

.filter-star i.filled {
    color: var(--accent);
}

.filter-star span {
    color: var(--text-muted);
    margin-right: auto;
}

.filter-star.active {
    background: var(--accent-soft);
}

/* Switch */
.filter-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
}

.filter-switch input { display: none; }

.filter-switch-track {
    position: relative;
    width: 38px;
    height: 22px;
    background: var(--border-dark);
    border-radius: var(--radius-full);
    transition: background var(--t-fast);
    flex-shrink: 0;
}

.filter-switch-track::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--t-fast);
    box-shadow: var(--shadow-sm);
}

.filter-switch input:checked + .filter-switch-track {
    background: var(--primary);
}

.filter-switch input:checked + .filter-switch-track::after {
    transform: translateX(-16px);
}

.filter-switch-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text);
}

.filter-switch-label i {
    color: var(--primary);
}

.filter-actions {
    padding-top: var(--space);
    border-top: 1px solid var(--border);
}

/* ==================== Filter Sheet (Mobile) ==================== */
.filter-sheet {
    position: fixed;
    inset: 0;
    z-index: 300;
    pointer-events: none;
}

.filter-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.6);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t);
}

.filter-sheet-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: var(--card);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 90vh;
    transform: translateY(100%);
    transition: transform var(--t);
    display: flex;
    flex-direction: column;
}

.filter-sheet.active {
    pointer-events: auto;
}

.filter-sheet.active .filter-sheet-backdrop {
    opacity: 1;
    visibility: visible;
}

.filter-sheet.active .filter-sheet-panel {
    transform: translateY(0);
}

.filter-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space);
    border-bottom: 1px solid var(--border);
}

.filter-sheet-header h3 {
    font-size: 16px;
}

.filter-sheet-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
}

.filter-sheet-body {
    overflow-y: auto;
    padding: var(--space);
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 993px) {
    .filter-sheet { display: none; }
}

/* ==================== Empty State ==================== */
.listing-empty {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-dark);
}

.listing-empty-icon {
    font-size: 64px;
    color: var(--border-dark);
    margin-bottom: var(--space);
}

.listing-empty h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.listing-empty p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: var(--space-md);
}

/* ==================== Pagination ==================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-lg);
    padding: var(--space) 0;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    transition: all var(--t-fast);
    cursor: pointer;
}

.pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--grad-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 4px;
}

/* ==================== Related ==================== */
.section-title-simple {
    font-size: 18px;
    margin-bottom: var(--space);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title-simple::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--primary);
    border-radius: 2px;
}

.related-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    transition: all var(--t-fast);
}

.related-cat:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.related-cat i {
    color: var(--primary);
}

.related-cat:hover i {
    color: #fff;
}

.related-cat small {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 11px;
}

.related-cat:hover small { color: rgba(255,255,255,.8); }

.related-cities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

@media (max-width: 640px) {
    .related-cities {
        grid-template-columns: repeat(2, 1fr);
    }
}

.related-city {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--t-fast);
    text-align: center;
}

.related-city:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.related-city i {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 6px;
}

.related-city span {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

.related-city small {
    font-size: 11px;
    color: var(--text-muted);
}

/* =====================================================
   صفحه ورود (Auth)
   ===================================================== */

.blank-layout {
    background: var(--grad-hero);
    min-height: 100vh;
    padding: 0;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(245,158,11,.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,.08) 0%, transparent 40%);
    pointer-events: none;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.auth-logo {
    text-align: center;
    margin-bottom: var(--space-md);
}

.auth-logo .logo-text {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    box-shadow: 0 25px 50px rgba(0,0,0,.25);
    animation: fadeInUp .4s ease;
}

.auth-step {
    text-align: center;
}

.auth-step[hidden] { display: none; }

.auth-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space);
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-primary);
}

.auth-card h2 {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--text);
}

.auth-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.auth-subtitle strong {
    color: var(--primary);
    font-weight: 800;
    direction: ltr;
    display: inline-block;
}

/* ==================== Channels ==================== */
.auth-channel-title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    text-align: right;
}

.auth-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.auth-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--t-fast);
}

.auth-channel input { display: none; }

.auth-channel i {
    font-size: 20px;
    color: var(--text-muted);
}

.auth-channel span {
    font-size: 12px;
    font-weight: 800;
    color: var(--text);
}

.auth-channel.active {
    background: var(--primary-soft);
    border-color: var(--primary);
}

.auth-channel.active i { color: var(--primary); }

.auth-channel:hover {
    border-color: var(--primary-light);
}

/* ==================== Code Inputs ==================== */
.auth-code-inputs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    direction: ltr;
    margin: var(--space) 0;
}

.auth-code-input {
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    transition: all var(--t-fast);
    color: var(--text);
}

.auth-code-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
    transform: scale(1.05);
}

.auth-code-input.filled {
    border-color: var(--primary);
    background: var(--primary-soft);
}

/* ==================== Dev Code Box ==================== */
.auth-dev-code {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: var(--radius);
    margin-bottom: var(--space);
    text-align: right;
    font-size: 13px;
    color: #92400e;
}

.auth-dev-code i {
    font-size: 18px;
    color: #d97706;
}

.auth-dev-code span {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 2px;
    direction: ltr;
    display: inline-block;
}

/* ==================== Resend ==================== */
.auth-resend {
    margin-top: var(--space);
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.auth-resend strong {
    color: var(--primary);
    font-weight: 800;
}

.auth-resend-btn {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: all var(--t-fast);
}

.auth-resend-btn:hover {
    background: var(--primary-soft);
}

/* ==================== Back ==================== */
.auth-back-btn,
.auth-back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: var(--space);
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: all var(--t-fast);
}

.auth-back-btn:hover,
.auth-back-home:hover {
    color: var(--primary);
    background: var(--bg);
}

.auth-back-home {
    color: rgba(255,255,255,.85);
    display: flex;
    justify-content: center;
    margin-top: var(--space-md);
    font-size: 14px;
}

.auth-back-home:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
}

/* ==================== Terms ==================== */
.auth-terms {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: var(--space);
    line-height: 1.8;
}

.auth-terms a {
    color: var(--primary);
    text-decoration: underline;
}
/* =====================================================
   پنل کاربری
   ===================================================== */

.panel-layout {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
    padding: 0;
}

/* ==================== Sidebar ==================== */
.panel-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    background: #0f172a;
    color: #cbd5e1;
    overflow-y: auto;
    z-index: 100;
    transition: transform var(--t);
    display: flex;
    flex-direction: column;
}

.panel-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #1e293b;
}

.panel-logo {
    display: block;
    text-align: center;
}

.panel-logo .logo-text {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.panel-logo small {
    font-size: 11px;
    color: #64748b;
    letter-spacing: 1px;
}

.panel-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #1e293b;
    background: #0c1424;
}

.panel-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.panel-user-info {
    flex: 1;
    min-width: 0;
}

.panel-user-info strong {
    display: block;
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-user-info small {
    font-size: 11px;
    color: #64748b;
}

/* Nav */
.panel-nav {
    flex: 1;
    padding: 12px 8px;
    overflow-y: auto;
}

.panel-nav-section {
    margin-bottom: 12px;
}

.panel-nav-title {
    font-size: 10px;
    color: #64748b;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.panel-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
    transition: all var(--t-fast);
    margin-bottom: 2px;
}

.panel-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
    color: #64748b;
    transition: color var(--t-fast);
}

.panel-nav-item:hover {
    background: #1e293b;
    color: #fff;
}

.panel-nav-item:hover i { color: var(--primary); }

.panel-nav-item.active {
    background: linear-gradient(135deg, rgba(225,29,72,.15), rgba(190,18,60,.15));
    color: #fff;
    border-right: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.panel-nav-item.active i { color: var(--primary); }

/* Footer */
.panel-sidebar-footer {
    padding: 16px;
    border-top: 1px solid #1e293b;
}

.panel-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(220,38,38,.1);
    color: #fca5a5;
    font-size: 13px;
    font-weight: 800;
    transition: all var(--t-fast);
}

.panel-logout:hover {
    background: rgba(220,38,38,.2);
    color: #fff;
}

/* ==================== Main ==================== */
.panel-main {
    flex: 1;
    margin-right: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================== Topbar ==================== */
.panel-topbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.panel-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 16px;
}

.panel-page-title {
    font-size: 18px;
    color: var(--text);
    margin: 0;
}

.panel-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-topbar-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--t-fast);
    cursor: pointer;
    border: none;
}

.panel-topbar-btn:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.panel-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--danger);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
}

/* Drawer Toggle */
.panel-drawer-toggle {
    display: none;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 150;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-primary);
    cursor: pointer;
    border: none;
    font-size: 18px;
}

.panel-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t);
}

/* ==================== Content ==================== */
.panel-content {
    padding: 24px;
    flex: 1;
}

/* ==================== Welcome ==================== */
.panel-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #fff, #fff5f7);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.panel-welcome-text h2 {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 4px;
}

.panel-welcome-text p {
    font-size: 13px;
    color: var(--text-muted);
}

.panel-welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 800;
}

.panel-welcome-badge-success {
    background: var(--success-soft);
    color: var(--success);
}

.panel-welcome-badge-warning {
    background: var(--accent-soft);
    color: #b45309;
}

/* ==================== Stats ==================== */
.panel-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .panel-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.panel-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--t-fast);
}

.panel-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.panel-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.panel-stat-icon-primary { background: var(--primary-soft); color: var(--primary); }
.panel-stat-icon-info    { background: var(--info-soft);    color: var(--info); }
.panel-stat-icon-success { background: var(--success-soft); color: var(--success); }
.panel-stat-icon-warning { background: var(--accent-soft);  color: var(--accent); }

.panel-stat-body { flex: 1; min-width: 0; }

.panel-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.panel-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.panel-stat-meta {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    font-size: 10px;
    flex-wrap: wrap;
}

.panel-stat-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 800;
}

.text-success { color: var(--success); }
.text-warning { color: #b45309; }

/* ==================== Card ==================== */
.panel-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    overflow: hidden;
}

.panel-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.panel-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text);
    margin: 0;
}

.panel-card-title i {
    color: var(--primary);
    font-size: 16px;
}

.panel-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: all var(--t-fast);
}

.panel-card-action:hover {
    background: var(--primary-soft);
}

.panel-card-body {
    padding: 20px;
}

/* ==================== Chart ==================== */
.panel-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    height: 180px;
    padding: 0 8px;
}

.panel-chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.panel-chart-bar-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.panel-chart-bar {
    width: 70%;
    max-width: 40px;
    min-height: 4px;
    background: linear-gradient(180deg, #e11d48, #be123c);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: all var(--t);
    cursor: pointer;
}

.panel-chart-bar:hover {
    filter: brightness(1.15);
    transform: scaleY(1.02);
}

.panel-chart-label {
    font-size: 10px;
    color: var(--text-muted);
}

.panel-chart-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.panel-chart-legend i { margin-left: 4px; }

/* ==================== Grid 2 ==================== */
.panel-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .panel-grid-2 { grid-template-columns: 1fr; }
}

/* ==================== Halls List ==================== */
.panel-hall-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.panel-hall-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--t-fast);
}

.panel-hall-item:hover {
    border-color: var(--primary-light);
    background: #fafbfc;
    transform: translateX(-2px);
}

.panel-hall-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg);
}

.panel-hall-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-hall-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 24px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.panel-hall-info {
    flex: 1;
    min-width: 0;
}

.panel-hall-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.panel-hall-top h4 {
    font-size: 14px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

.panel-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    background: var(--bg);
    color: var(--text-muted);
    flex-shrink: 0;
}

.panel-status-success { background: var(--success-soft); color: var(--success); }
.panel-status-warning { background: var(--accent-soft); color: #b45309; }
.panel-status-danger  { background: var(--danger-soft); color: var(--danger); }

.panel-hall-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.panel-hall-meta i {
    color: var(--primary);
    font-size: 10px;
}

.panel-hall-stats {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.panel-hall-stats i {
    color: var(--text-light);
    margin-left: 3px;
}

.panel-hall-new {
    color: var(--danger);
    font-weight: 800;
}

.panel-hall-new i { color: var(--danger); }

.panel-hall-arrow {
    color: var(--text-light);
    font-size: 12px;
    transition: transform var(--t-fast);
}

.panel-hall-item:hover .panel-hall-arrow {
    transform: translateX(-4px);
    color: var(--primary);
}

.panel-see-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 10px;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    border-radius: var(--radius);
    transition: all var(--t-fast);
    border-top: 1px dashed var(--border);
}

.panel-see-all:hover {
    background: var(--primary-soft);
}

/* ==================== Leads ==================== */
.panel-lead-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.panel-lead-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: var(--bg);
    transition: all var(--t-fast);
}

.panel-lead-item:hover {
    background: var(--primary-soft);
}

.panel-lead-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--success-soft);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.panel-lead-info {
    flex: 1;
    min-width: 0;
}

.panel-lead-info strong {
    display: block;
    font-size: 13px;
    color: var(--text);
}

.panel-lead-info small {
    font-size: 11px;
    color: var(--text-muted);
}

.panel-lead-hall {
    font-size: 10px;
    color: var(--primary);
    margin-top: 2px;
}

.panel-lead-time {
    font-size: 10px;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==================== Reviews ==================== */
.panel-review-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.panel-review-item {
    padding: 14px;
    border-radius: var(--radius);
    background: var(--bg);
    border-right: 3px solid var(--primary);
}

.panel-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.panel-review-header strong {
    font-size: 13px;
}

.panel-review-rating i {
    font-size: 11px;
    color: var(--border-dark);
}

.panel-review-rating i.filled { color: var(--accent); }

.panel-review-header small {
    font-size: 11px;
    color: var(--text-muted);
    margin-right: auto;
}

.panel-review-comment {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 8px;
}

.panel-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.panel-review-hall {
    color: var(--primary);
    font-weight: 800;
}

/* ==================== Empty ==================== */
.panel-empty {
    text-align: center;
    padding: 30px 20px;
}

.panel-empty-icon {
    font-size: 48px;
    color: var(--border-dark);
    margin-bottom: 16px;
}

.panel-empty h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text);
}

.panel-empty p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.panel-empty-small {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
}

.panel-empty-small i {
    font-size: 36px;
    color: var(--border-dark);
    margin-bottom: 10px;
    display: block;
}

.panel-empty-small p {
    font-size: 13px;
    margin: 0;
}

/* ==================== Mobile ==================== */
@media (max-width: 992px) {
    .panel-sidebar {
        transform: translateX(100%);
    }

    .panel-sidebar.active {
        transform: translateX(0);
    }

    .panel-main {
        margin-right: 0;
    }

    .panel-drawer-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .panel-backdrop.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .panel-topbar-inner {
        padding: 14px 16px;
        padding-right: 70px;
    }

    .panel-content {
        padding: 16px;
    }

    .panel-page-title {
        font-size: 16px;
    }

    .panel-hall-image {
        width: 60px;
        height: 60px;
    }

    .panel-chart {
        height: 140px;
    }
}

@media (max-width: 640px) {
    .panel-welcome {
        padding: 16px;
    }

    .panel-welcome-text h2 {
        font-size: 17px;
    }

    .panel-stat-value {
        font-size: 18px;
    }

    .panel-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .panel-card-body {
        padding: 14px;
    }
}

/* =====================================================
   فرم‌های پنل + لیست تالارها
   ===================================================== */

/* ==================== Form ==================== */
.panel-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-form .form-group {
    margin-bottom: 16px;
}

.panel-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
}

.panel-form .required {
    color: var(--danger);
    margin-right: 2px;
}

.panel-form .form-hint {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.panel-form input,
.panel-form select,
.panel-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    transition: all var(--t-fast);
}

.panel-form input:focus,
.panel-form select:focus,
.panel-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.panel-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row-2 { grid-template-columns: repeat(2, 1fr); }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-row-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .form-row-2,
    .form-row-3,
    .form-row-4 {
        grid-template-columns: 1fr;
    }
}

.panel-form-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    position: sticky;
    bottom: 16px;
    box-shadow: 0 -4px 12px rgba(0,0,0,.04);
}

@media (max-width: 640px) {
    .panel-form-actions {
        flex-direction: column-reverse;
    }
    .panel-form-actions .btn {
        width: 100%;
    }
}

.form-hint-box {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--info-soft);
    border-radius: var(--radius);
    border-right: 3px solid var(--info);
    font-size: 12px;
    line-height: 1.8;
    color: var(--text);
}

.form-hint-box i {
    color: var(--info);
    font-size: 16px;
    flex-shrink: 0;
}

.form-hint-box strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.form-hint-box a {
    color: var(--primary);
    text-decoration: underline;
}

/* ==================== Halls Grid (Panel) ==================== */
.panel-halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

@media (max-width: 640px) {
    .panel-halls-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.panel-hall-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--t);
}

.panel-hall-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.panel-hall-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg);
    overflow: hidden;
}

.panel-hall-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.panel-hall-card:hover .panel-hall-card-image img {
    transform: scale(1.05);
}

.panel-hall-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--text-light);
    font-size: 32px;
}

.panel-hall-card-status {
    position: absolute;
    top: 10px;
    right: 10px;
}

.panel-hall-card-status .panel-status {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.panel-hall-card-status .panel-status-success {
    background: #fff;
    color: var(--success);
}

.panel-hall-card-status .panel-status-warning {
    background: #fff;
    color: #b45309;
}

.panel-hall-card-status .panel-status-danger {
    background: #fff;
    color: var(--danger);
}

.panel-hall-card-featured {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--grad-gold);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    box-shadow: var(--shadow-accent);
}

.panel-hall-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.panel-hall-card-body h3 {
    font-size: 15px;
    color: var(--text);
    line-height: 1.4;
}

.panel-hall-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.panel-hall-card-meta i {
    color: var(--primary);
    font-size: 10px;
    margin-left: 3px;
}

.panel-hall-reject {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    background: var(--danger-soft);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--danger);
    line-height: 1.6;
}

.panel-hall-reject i {
    flex-shrink: 0;
    margin-top: 2px;
}

.panel-hall-card-stats {
    display: flex;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    margin-top: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.panel-hall-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.panel-hall-card-stat i {
    color: var(--text-light);
    font-size: 11px;
}

.panel-hall-card-stat .text-warning {
    color: var(--accent);
}

/* ==================== Coming Soon Badge ==================== */
.panel-nav-soon {
    margin-right: auto;
    padding: 2px 8px;
    background: var(--accent-soft);
    color: #b45309;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 800;
}


/* =====================================================
   گالری و آپلود تصاویر
   ===================================================== */

/* ==================== Stats ==================== */
.media-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.media-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.media-stat i {
    color: var(--primary);
}

.media-stat strong {
    color: var(--text);
    font-weight: 800;
}

/* ==================== Uploader ==================== */
.media-uploader {
    margin-bottom: 20px;
}

.media-uploader-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 20px;
    background: #fff;
    border: 2px dashed var(--border-dark);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--t);
    cursor: pointer;
}

.media-uploader-area:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.media-uploader-area.dragover {
    border-color: var(--primary);
    background: var(--primary-soft);
    transform: scale(1.01);
}

.media-uploader-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 8px;
}

.media-uploader-area h3 {
    font-size: 16px;
    color: var(--text);
    margin: 0;
}

.media-uploader-area p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.media-uploader-area small {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Progress */
.media-upload-progress {
    margin-top: 16px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.media-progress-bar {
    height: 8px;
    background: var(--bg);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.media-progress-fill {
    height: 100%;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
    width: 0;
}

.media-upload-progress p {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

/* ==================== Media Grid ==================== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

@media (max-width: 640px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.media-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    cursor: grab;
    transition: all var(--t);
    border: 2px solid transparent;
}

.media-item:active {
    cursor: grabbing;
}

.media-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.media-item.dragging {
    opacity: 0.4;
    transform: scale(0.95);
}

.media-item.drag-over {
    border-color: var(--accent);
    border-style: dashed;
}

.media-item-image {
    width: 100%;
    height: 100%;
}

.media-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-item-cover {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: var(--grad-gold);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    box-shadow: var(--shadow-accent);
}

.media-item-drag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,.9);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity var(--t-fast);
}

.media-item:hover .media-item-drag {
    opacity: 1;
}

.media-item-actions {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all var(--t-fast);
}

.media-item:hover .media-item-actions {
    opacity: 1;
    transform: translateY(0);
}

.media-action-btn {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.95);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    border: none;
    transition: all var(--t-fast);
}

.media-action-btn:hover {
    transform: scale(1.1);
}

.media-action-edit:hover {
    background: var(--info);
    color: #fff;
}

.media-action-delete:hover {
    background: var(--danger);
    color: #fff;
}

/* Empty */
.media-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.media-empty i {
    font-size: 48px;
    color: var(--border-dark);
    display: block;
    margin-bottom: 12px;
}

.media-empty p {
    margin: 0;
    font-size: 13px;
}

/* ==================== Modal ==================== */
.media-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.media-modal[hidden] {
    display: none;
}

.media-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.7);
    backdrop-filter: blur(4px);
}

.media-modal-box {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp .3s ease;
}

.media-modal-box h3 {
    font-size: 17px;
    margin-bottom: 16px;
}

.media-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: all var(--t-fast);
}

.media-modal-close:hover {
    background: var(--danger-soft);
    color: var(--danger);
}

/* ==================== Panel Card Hint ==================== */
.panel-card-hint {
    font-size: 11px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.panel-hall-card-actions {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    border-top: 1px solid var(--border);
}

.panel-hall-card-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: var(--bg);
    color: var(--text);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 800;
    transition: all var(--t-fast);
}

.panel-hall-card-btn:hover {
    background: var(--primary);
    color: #fff;
}
/* =====================================================
   لوگو و کاور (Brand Uploaders)
   ===================================================== */

.brand-uploader {
    display: flex;
    gap: 16px;
    align-items: center;
}

.brand-uploader-wide {
    flex-direction: column;
    align-items: stretch;
}

.brand-uploader-preview {
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    border: 2px dashed var(--border-dark);
    position: relative;
}

.brand-logo-preview {
    width: 120px;
    height: 120px;
}

.brand-cover-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.brand-uploader-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-uploader-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 11px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.brand-uploader-placeholder i {
    font-size: 28px;
}

.brand-uploader-info {
    flex: 1;
    min-width: 0;
}

.brand-uploader-info h4 {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.brand-uploader-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.brand-uploader-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.brand-uploader-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,.9);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.brand-uploader-loading i {
    font-size: 24px;
}

@media (max-width: 640px) {
    .brand-uploader {
        flex-direction: column;
        align-items: stretch;
    }
    
    .brand-logo-preview {
        width: 100%;
        max-width: 200px;
        height: 200px;
        margin: 0 auto;
    }
}

/* ==================== Media Section Header ==================== */
.media-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 16px;
    flex-wrap: wrap;
}

.media-section-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    color: var(--text);
    margin: 0;
}

.media-section-header h3 i {
    color: var(--primary);
}

@media (max-width: 400px) {
    .auth-code-inputs { gap: 6px; }
    .auth-code-input { font-size: 18px; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}