
:root {
    --bg-primary: #0b090a;
    --bg-secondary: #161a1d;
    --bg-card: #111111;
    --bg-card-hover: #221c1c;
    --text-primary: #f0f0f0;
    --text-secondary: #8a8a8a;
    --text-muted: #666666;
    --accent: #9e1f1f;
    --accent2: #f59e0b;
    --accent3: #f59e0b;
    --accent-glow: rgba(255, 0, 0, 0.1);
    --accent2-glow: rgba(165, 0, 0, 0.1);
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(255, 0, 0, 0.25);
    --glass: rgba(6, 6, 6, 0.65);
    --glass-border: rgba(255, 0, 0, 0.08);
    --gradient-accent: linear-gradient(135deg, #e60000, #ff3333);
    --gradient-mixed: linear-gradient(135deg, #e60000, #fa5c00);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.8;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent);
    }

/* ==================== NAV ==================== */
.nav-inside-slider {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 16px 0;
    transition: var(--transition);
}

    .nav-inside-slider.scrolled {
        background: rgba(6, 6, 6, 0.92);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-color);
        padding: 10px 0;
    }

.nav-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    margin-bottom: 12px;
}

    .nav-top-bar .top-info {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 12px;
        color: var(--text-muted);
    }

        .nav-top-bar .top-info a {
            color: var(--text-muted);
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 5px;
        }

            .nav-top-bar .top-info a:hover {
                color: var(--accent);
            }

    .nav-top-bar .top-social {
        display: flex;
        gap: 8px;
    }

        .nav-top-bar .top-social a {
            color: var(--text-muted);
            font-size: 13px;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }

            .nav-top-bar .top-social a:hover {
                color: var(--accent);
                border-color: var(--border-hover);
                background: var(--accent-glow);
            }

.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 100px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    box-shadow: 0 0 24px rgba(0,212,255,0.25);
}

.logo-text .brand {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.logo-text .tagline {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 4px;
}

    .nav-menu a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        font-size: 13.5px;
        font-weight: 500;
        padding: 9px 16px;
        border-radius: 8px;
        transition: var(--transition);
    }

        .nav-menu a:hover, .nav-menu a.active {
            color: #ffffff;
            background: var(--accent);
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-action-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

    .nav-action-btn a {
        color: #ffffff;
    }

        .nav-action-btn a:hover {
            color: var(--accent);
        }

    .nav-action-btn:hover {
        border-color: var(--border-hover);
        color: var(--accent);
    }

    .nav-action-btn .badge-count {
        position: absolute;
        top: -5px;
        left: -5px;
        width: 18px;
        height: 18px;
        background: var(--accent);
        color: #000;
        font-size: 10px;
        font-weight: 800;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.btn-consult {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    background: var(--gradient-accent);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Vazirmatn';
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

    .btn-consult:hover {
        box-shadow: 0 0 30px rgba(0,212,255,0.35);
        transform: translateY(-2px);
    }

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
}


/* ==================== HERO SLIDER ==================== */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
}

.swiper-hero {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    transition: transform 10s ease-out;
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6,6,6,0.92) 0%, rgba(6,6,6,0.5) 50%, rgba(6,6,6,0.75) 100%);
}

    .slide-overlay::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 250px;
        background: linear-gradient(to top, var(--bg-primary), transparent);
    }

.slide-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0 130px;
    padding-top: 130px;
}

.slide-content-inner {
    max-width: 620px;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: var(--accent-glow);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}

.swiper-slide-active .slide-badge {
    opacity: 1;
    transform: translateY(0);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(1.6)
    }
}

.slide-title {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide-title .hl {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
    max-width: 480px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
}

.swiper-slide-active .slide-desc {
    opacity: 1;
    transform: translateY(0);
}

.slide-actions {
    display: flex;
    gap: 14px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.9s;
}

.swiper-slide-active .slide-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-p {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 32px;
    background: var(--gradient-accent);
    color: #000;
    border: none;
    border-radius: 13px;
    font-family: 'Vazirmatn';
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

    .btn-p:hover {
        box-shadow: 0 0 40px rgba(255, 0, 0, 0.35);
        transform: translateY(-3px);
        color: #000;
    }

.btn-o {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 13px;
    font-family: 'Vazirmatn';
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

    .btn-o:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

/* Hero Pagination */
.hero-pagination {
    position: absolute !important;
    bottom: 120px !important;
    left: 40px !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 15;
}

    .hero-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: transparent;
        border: 2px solid rgba(255,255,255,0.25);
        opacity: 1;
        transition: var(--transition);
    }

    .hero-pagination .swiper-pagination-bullet-active {
        background: var(--accent);
        border-color: var(--accent);
        box-shadow: 0 0 12px rgba(0,212,255,0.5);
        height: 32px;
        border-radius: 5px;
    }

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

    .hero-nav:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

.hero-nav-prev {
    right: 40px;
}

.hero-nav-next {
    left: 40px;
}

/* Hero Stats */
.slide-stats {
    position: absolute;
    bottom: 50px;
    left: 40px;
    right: 40px;
    z-index: 15;
    display: flex;
    justify-content: center;
    gap: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 1.1s;
}

.swiper-slide-active .slide-stats {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    text-align: center;
    padding: 16px 36px;
    border-left: 1px solid var(--border-color);
}

    .stat-item:last-child {
        border-left: none;
    }

.stat-num {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

    .stat-num .ac {
        color: var(--accent);
    }

.stat-lbl {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ==================== SECTION SHARED ==================== */
.sec-pad {
    padding: 90px 0;
}

.sec-head {
    text-align: center;
    margin-bottom: 50px;
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(0,212,255,0.12);
    border-radius: 50px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

.sec-title {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.3;
}

.sec-sub {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ==================== CATEGORIES - HORIZONTAL SCROLL SLIDER ==================== */
.cat-slider-sec {
    margin: -50px;
    position: relative;
    z-index: 30;
    margin-bottom: 1px;
}

.cat-slider .swiper-slide {
    width: auto;
}

.cat-card {
    width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 28px 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

    .cat-card:hover {
        border-color: var(--border-hover);
        transform: translateY(-6px);
        box-shadow: 0 0 30px rgba(0,212,255,0.08);
    }

.cat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--accent-glow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
}

.cat-card:hover .cat-icon {
    background: var(--gradient-accent);
    color: #000;
    transform: scale(1.08);
}

.cat-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cat-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ==================== DUAL BANNER SLIDER ==================== */
.dual-banner-sec {
    padding: 0 0 20px;
}

.dual-banner {
    overflow: hidden;
    border-radius: 20px;
}

    .dual-banner .swiper-slide {
        height: 200px;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
    }

    .dual-banner .db-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transition: transform 6s ease;
    }

.swiper-slide-active .db-bg {
    transform: scale(1.06);
}

.dual-banner .db-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.dual-banner .db-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dual-banner .db-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.dual-banner .db-title {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 6px;
}

.dual-banner .db-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.dual-banner .db-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #fff;
    font-family: 'Vazirmatn';
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    width: fit-content;
}

    .dual-banner .db-btn:hover {
        background: var(--accent);
        color: #000;
        border-color: var(--accent);
    }

/* ==================== PRODUCTS - CENTERED CAROUSEL ==================== */
.products-sec {
    background: var(--bg-secondary);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition);
}

    .product-card:hover {
        border-color: var(--border-hover);
        transform: translateY(-5px);
        box-shadow: 0 16px 50px rgba(0,0,0,0.4);
    }

.p-img {
    position: relative;
    height: 220px;
    background: #0a0a0a;
    overflow: hidden;
}

    .p-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.product-card:hover .p-img img {
    transform: scale(1.08);
}

.p-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 12px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

    .p-badge.new {
        background: var(--accent);
        color: #000;
    }

    .p-badge.sale {
        background: #ef4444;
        color: #fff;
    }

    .p-badge.hot {
        background: var(--accent3);
        color: #000;
    }

.p-quick {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.product-card:hover .p-quick {
    opacity: 1;
    transform: translateX(0);
    cursor: pointer;
}

.p-quick button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(6,6,6,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

    .p-quick button:hover {
        background: var(--accent);
        color: #000;
        border-color: var(--accent);
    }

.p-info {
    padding: 20px;
}

.p-brand {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.p-name {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    --webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.p-tag {
    padding: 2px 9px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 10px;
    color: var(--text-secondary);
}

.p-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.p-price .cur {
    font-size: 18px;
    font-weight: 900;
}

.p-price .old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.btn-cart {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--gradient-accent);
    color: #000;
    border: none;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-cart:hover {
        box-shadow: 0 0 20px rgba(0,212,255,0.4);
        transform: scale(1.1);
    }

/* Products slider custom nav */
.products-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}

    .products-nav button {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        background: var(--bg-card);
        color: var(--text-primary);
        font-size: 18px;
        cursor: pointer;
        transition: var(--transition);
    }

        .products-nav button:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

/* ==================== VERTICAL FEATURES SLIDER ==================== */
.features-sec {
    overflow: hidden;
}

    .features-sec .sec-head {
        margin-bottom: 0;
    }

.feat-slider {
    height: 380px;
    margin-top: 40px;
}

.feat-slide {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 36px;
    transition: var(--transition);
    height: auto !important;
}

    .feat-slide:hover {
        border-color: var(--border-hover);
    }

.feat-num {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-secondarys);
    line-height: 1;
    margin-bottom: 20px;
}

.feat-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-glow);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feat-slide:hover .feat-icon {
    background: var(--gradient-accent);
    color: #000;
}

.feat-slide h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.feat-slide p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin: 0;
}

.feat-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

    .feat-nav button {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        background: var(--bg-card);
        color: var(--text-primary);
        font-size: 18px;
        cursor: pointer;
        transition: var(--transition);
    }

        .feat-nav button:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

/* ==================== BRANDS - INFINITE MARQUEE ==================== */
.brands-sec {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

    .marquee-track:hover {
        animation-play-state: paused;
    }

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.marquee-item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.35;
    transition: var(--transition);
    cursor: pointer;
}

    .marquee-item:hover {
        opacity: 1;
    }

    .marquee-item .mi-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .marquee-item i {
        font-size: 32px;
        color: var(--text-secondary);
    }

    .marquee-item span {
        font-size: 11px;
        color: var(--text-muted);
        font-weight: 700;
        letter-spacing: 1px;
    }

/* ==================== PROMO COUNTDOWN SLIDER ==================== */
.promo-sec {
    padding: 60px 0;
}

.promo-slider .swiper-slide {
    height: 240px;
}

.promo-slide-inner {
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

    .promo-slide-inner .ps-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0.2;
    }

    .promo-slide-inner .ps-grad {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--bg-card) 40%, transparent);
    }

    .promo-slide-inner .ps-content {
        position: relative;
        z-index: 2;
        padding: 40px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.ps-text h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
}

    .ps-text h2 .ac {
        color: var(--accent);
    }

.ps-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 400px;
}

.countdown {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.cd-item {
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .cd-item .n {
        font-size: 20px;
        font-weight: 900;
        color: var(--accent);
        line-height: 1;
    }

    .cd-item .l {
        font-size: 9px;
        color: var(--text-muted);
        margin-top: 2px;
    }

/* ==================== TESTIMONIALS - COVERFLOW ==================== */
.testi-sec {
    background: var(--bg-secondary);
}

.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
}

    .testi-card:hover {
        border-color: var(--border-hover);
    }

.testi-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
    color: #f59e0b;
    font-size: 13px;
}

.testi-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 22px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent);
    font-weight: 800;
}

.testi-name {
    font-size: 14px;
    font-weight: 700;
}

.testi-role {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==================== BLOG - FADE SLIDER ==================== */
.blog-sec {
    overflow: hidden;
}

.blog-slide {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

    .blog-slide:hover {
        border-color: var(--border-hover);
        transform: translateY(-4px);
    }

.blog-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

    .blog-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.blog-slide:hover .blog-img img {
    transform: scale(1.06);
}

.blog-cat {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 4px 14px;
    background: var(--accent);
    color: #000;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.blog-body {
    padding: 24px;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-body h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.5;
}

.blog-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

    .blog-link:hover {
        gap: 10px;
    }

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 70px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 280px;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

    .footer-social a {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        color: var(--text-secondary);
        font-size: 15px;
        transition: var(--transition);
    }

        .footer-social a:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-glow);
        }

.footer-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 28px;
        height: 3px;
        background: var(--gradient-accent);
        border-radius: 2px;
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 13px;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: var(--accent);
            padding-right: 4px;
        }

.footer-ct {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

    .footer-ct i {
        color: var(--accent);
        font-size: 15px;
        margin-top: 4px;
    }

    .footer-ct span {
        font-size: 13px;
        color: var(--text-secondary);
        line-height: 1.7;
    }

.nl-group {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

    .nl-group input {
        flex: 1;
        padding: 11px 16px;
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        color: var(--text-primary);
        font-family: 'Vazirmatn';
        font-size: 13px;
        outline: none;
        transition: var(--transition);
    }

        .nl-group input:focus {
            border-color: var(--accent);
        }

        .nl-group input::placeholder {
            color: var(--text-muted);
        }

    .nl-group button {
        padding: 11px 20px;
        background: var(--gradient-accent);
        color: #000;
        border: none;
        border-radius: 10px;
        font-family: 'Vazirmatn';
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        transition: var(--transition);
    }

        .nl-group button:hover {
            box-shadow: 0 0 20px rgba(0,212,255,0.3);
        }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .footer-bottom p {
        font-size: 12px;
        color: var(--text-muted);
        margin: 0;
    }

.footer-bl {
    display: flex;
    gap: 16px;
}

    .footer-bl a {
        font-size: 12px;
        color: var(--text-muted);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-bl a:hover {
            color: var(--accent);
        }

/* ==================== UTILITIES ==================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--gradient-accent);
    color: #000;
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top:hover {
        transform: translateY(-4px);
    }

.toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.c-toast {
    padding: 14px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Vazirmatn';
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    animation: tIn .4s ease, tOut .4s ease 2.6s forwards;
    backdrop-filter: blur(20px);
}

    .c-toast i {
        color: var(--accent);
        font-size: 16px;
    }

@keyframes tIn {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes tOut {
    from {
        opacity: 1;
        transform: translateX(0)
    }

    to {
        opacity: 0;
        transform: translateX(30px)
    }
}

/* Search overlay */
.search-ov {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9998;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 140px;
    backdrop-filter: blur(20px);
}

    .search-ov .s-box {
        width: 100%;
        max-width: 660px;
        padding: 0 24px;
    }

    .search-ov .s-inner {
        display: flex;
        align-items: center;
        gap: 14px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 6px;
    }

    .search-ov input {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        color: var(--text-primary);
        font-family: 'Vazirmatn';
        font-size: 17px;
        padding: 12px 0;
    }

        .search-ov input::placeholder {
            color: var(--text-muted);
        }

    .search-ov .s-close {
        background: transparent;
        border: 1px solid var(--border-color);
        color: var(--text-primary);
        width: 42px;
        height: 42px;
        border-radius: 11px;
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

        .search-ov .s-close:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

.s-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

    .s-tags span {
        color: var(--text-muted);
        font-size: 12px;
    }

    .s-tags a {
        padding: 5px 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border-color);
        border-radius: 7px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 12px;
        transition: var(--transition);
    }

        .s-tags a:hover {
            border-color: var(--border-hover);
            color: var(--accent);
        }

/* Mobile sidebar */
.m-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .m-overlay.open {
        opacity: 1;
        visibility: visible;
    }

.m-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 1000;
    transition: right 0.4s ease;
    padding: 20px;
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
}

    .m-sidebar.open {
        right: 0;
    }

    .m-sidebar .c-btn {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        background: transparent;
        color: var(--text-primary);
        font-size: 16px;
        cursor: pointer;
        margin-bottom: 20px;
    }

    .m-sidebar a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 14px;
        border-radius: 9px;
        transition: var(--transition);
    }

        .m-sidebar a:hover, .m-sidebar a.active {
            background: var(--accent-glow);
            color: var(--accent);
        }

        .m-sidebar a i {
            font-size: 16px;
            width: 22px;
            text-align: center;
        }

/* ==================== RESPONSIVE ==================== */
/* @media(max-width:1200px) {
            .slide-title { font-size: 40px; }
            .nav-top-bar { display: none; }
        }
        @media(max-width:991px) {
            .nav-menu, .btn-consult { display: none; }
            .mobile-menu-btn { display: flex; }
            .nav-main { padding: 0 20px; }
            .slide-content { padding: 0 20px; padding-top: 100px; }
            .slide-title { font-size: 32px; }
            .slide-stats { display: none; }
            .hero-nav { display: none; }
            .hero-pagination { bottom: 30px !important; left: 20px !important; }
            .sec-title { font-size: 26px; }
            .feat-slider { height: auto !important; }
            .feat-slide { margin-bottom: 12px; }
            .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
            .ps-content { flex-direction: column !important; text-align: center; }
            .ps-text p { margin: 0 auto 20px; }
            .countdown { justify-content: center; }
        }
        @media(max-width:767px) {
            .hero-wrapper { min-height: 580px; }
            .slide-title { font-size: 26px; }
            .slide-actions { flex-direction: column; align-items: stretch; }
            .btn-p, .btn-o { width: 100%; justify-content: center; }
            .p-img { height: 180px; }
            .cd-item { width: 48px; height: 48px; }
            .cd-item .n { font-size: 17px; }
            .ps-text h2 { font-size: 22px; }
        } */








/* ============ drop down ===========
                ================================== */
.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding: 9px 16px;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: 'Vazirmatn';
    letter-spacing: 0.2px;
    position: relative;
}



    .nav-link:hover {
        color: var(--text-primary);
        background: var(--accent);
    }

    .nav-link.active {
        color: var(--accent);
    }

    .nav-link i.bi-chevron-down {
        font-size: 11px;
        transition: var(--transition);
        opacity: 0.7;
    }

    .nav-link.open i.bi-chevron-down {
        transform: rotate(180deg);
        opacity: 1;
        color: var(--accent);
    }

    .nav-link .link-badge {
        font-size: 9px;
        background: var(--accent2);
        color: #fff;
        padding: 0 8px;
        border-radius: 30px;
        font-weight: 700;
        line-height: 18px;
        margin-right: 2px;
    }

/* ===== DROPDOWN با گرید ===== */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: -20px;
    min-width: 620px;
    background: rgba(12, 12, 12, 0.96);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px 14px;
    box-shadow: var(--shadow-heavy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.96);
    transition: var(--transition);
    z-index: 1000;
    pointer-events: none;
    text-align: right;
    overflow: hidden;
}

    .nav-dropdown::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 20%;
        right: 20%;
        height: 2px;
        background: var(--gradient-accent);
        border-radius: 0 0 50% 50%;
        opacity: 0.5;
    }

    .nav-dropdown.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

/* ===== گرید اصلی ===== */
.dd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dd-col {
    padding: 2px;
}

    .dd-col .dd-title {
        background-color: #333;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 700;
        color: var(--text-primary);
        text-transform: uppercase;
        letter-spacing: 1.2px;
        padding: 6px 12px 8px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .dd-col .dd-title i {
            font-size: 25px;
            color: var(--accent);
            opacity: 0.6;
        }

        .dd-col .dd-title .title-badge {
            font-size: 8px;
            background: var(--accent);
            color: #000;
            padding: 0 8px;
            border-radius: 20px;
            font-weight: 700;
            line-height: 16px;
            margin-right: auto;
        }

/* ===== آیتم‌های گرید ===== */
.dd-grid-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    margin-bottom: 2px;
}

    .dd-grid-item .dd-icon {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 10px;
        font-size: 16px;
        color: var(--text-muted);
        transition: var(--transition);
        flex-shrink: 0;
    }

    .dd-grid-item:hover .dd-icon {
        background: var(--accent-glow);
        color: var(--text-primary);
    }

    .dd-grid-item .dd-text {
        flex: 1;
        text-align: right;
    }

        .dd-grid-item .dd-text .dd-name {
            display: block;
            color: var(--text-primary);
            font-weight: 600;
            font-size: 13.5px;
        }

        .dd-grid-item .dd-text .dd-desc {
            display: block;
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 400;
            margin-top: 1px;
        }

    .dd-grid-item .dd-badge {
        font-size: 9px;
        font-weight: 700;
        padding: 1px 10px;
        border-radius: 20px;
        background: var(--accent);
        color: #000;
        flex-shrink: 0;
    }

        .dd-grid-item .dd-badge.hot {
            background: #ef4444;
            color: #fff;
        }

        .dd-grid-item .dd-badge.new {
            background: var(--accent2);
            color: #fff;
        }

        .dd-grid-item .dd-badge.special {
            background: var(--accent3);
            color: #000;
        }

    .dd-grid-item:hover {
        background: var(--accent-glow);
        color: var(--text-primary);
    }

        .dd-grid-item:hover .dd-text .dd-name {
            color: var(--text-primary);
        }

/* ===== فوتر گرید ===== */
.dd-footer {
    border-top: 1px solid var(--border-color);
    padding: 12px 6px 2px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

    .dd-footer .footer-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--accent);
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        padding: 6px 14px;
        border-radius: 10px;
        transition: var(--transition);
    }

        .dd-footer .footer-link:hover {
            background: var(--accent-glow);
            gap: 12px;
        }

    .dd-footer .footer-stats {
        font-size: 11px;
        color: var(--text-muted);
    }

        .dd-footer .footer-stats strong {
            color: var(--text-secondary);
        }






/* ============================================ */
/* ===== HAMBURGER MENU ===== */
/* ============================================ */

.hamburger-btn {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
    position: relative;
    z-index: 1001;
}

    .hamburger-btn:hover {
        border-color: var(--border-hover);
    }

    .hamburger-btn .bar {
        width: 22px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: var(--transition);
    }

        .hamburger-btn .bar:nth-child(1) {
            transform-origin: top right;
        }

        .hamburger-btn .bar:nth-child(3) {
            transform-origin: bottom right;
        }

    .hamburger-btn.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-4px, 6px);
    }

    .hamburger-btn.active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger-btn.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-4px, -6px);
    }

/* ===== OVERLAY ===== */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .menu-overlay.open {
        opacity: 1;
        visibility: visible;
    }

/* ===== SIDEBAR MENU ===== */
.sidebar-menu-custom {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100vh;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 24px 20px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

    .sidebar-menu-custom.open {
        right: 0;
    }

    .sidebar-menu-custom::-webkit-scrollbar {
        width: 3px;
    }

    .sidebar-menu-custom::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar-menu-custom::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 3px;
    }

/* ===== SIDEBAR HEADER ===== */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

    .sidebar-header .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

    .sidebar-header .brand-icon {
        width: 40px;
        height: 40px;
        background: var(--gradient-accent);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #000;
    }

    .sidebar-header .brand-text {
        font-size: 18px;
        font-weight: 900;
        color: var(--text-primary);
        line-height: 1.2;
    }

        .sidebar-header .brand-text small {
            font-size: 10px;
            color: var(--text-muted);
            font-weight: 400;
            display: block;
            letter-spacing: 2px;
        }

    .sidebar-header .close-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        background: transparent;
        color: var(--text-muted);
        font-size: 18px;
        cursor: pointer;
        transition: var(--transition);
    }

        .sidebar-header .close-btn:hover {
            border-color: var(--border-hover);
            color: var(--text-primary);
        }

/* ===== SEARCH IN SIDEBAR ===== */
.sidebar-search {
    position: relative;
    margin-bottom: 20px;
}

    .sidebar-search input {
        width: 100%;
        padding: 10px 16px 10px 44px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        color: var(--text-primary);
        font-family: 'Vazirmatn';
        font-size: 13px;
        outline: none;
        transition: var(--transition);
    }

        .sidebar-search input:focus {
            border-color: var(--accent);
        }

        .sidebar-search input::placeholder {
            color: var(--text-muted);
        }

    .sidebar-search .search-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-size: 16px;
    }

/* ===== MENU ITEMS ===== */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

    .menu-list .menu-item {
        margin-bottom: 2px;
    }

        .menu-list .menu-item > a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 10px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: var(--transition);
            cursor: pointer;
        }

            .menu-list .menu-item > a:hover {
                background: var(--accent-glow);
                color: var(--text-primary);
            }

            .menu-list .menu-item > a.active {
                background: var(--accent-glow);
                color: var(--accent);
            }

            .menu-list .menu-item > a i {
                font-size: 18px;
                width: 24px;
                text-align: center;
            }

            .menu-list .menu-item > a .badge {
                margin-right: auto;
                padding: 2px 10px;
                border-radius: 6px;
                font-size: 11px;
                font-weight: 700;
                background: var(--accent);
                color: #000;
            }

                .menu-list .menu-item > a .badge.danger {
                    background: #ef4444;
                    color: #fff;
                }

                .menu-list .menu-item > a .badge.warning {
                    background: var(--accent3);
                    color: #000;
                }

            .menu-list .menu-item > a .arrow {
                margin-right: auto;
                transition: var(--transition);
                font-size: 12px;
                color: var(--text-muted);
            }

                .menu-list .menu-item > a .arrow.open {
                    transform: rotate(180deg);
                }

/* ===== DROPDOWN SUBMENU ===== */
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

    .submenu.open {
        max-height: 600px;
    }

    .submenu .sub-item a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px 10px 38px;
        border-radius: 8px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        transition: var(--transition);
        cursor: pointer;
    }

        .submenu .sub-item a:hover {
            background: var(--accent-glow);
            color: var(--text-primary);
        }

        .submenu .sub-item a .sub-icon {
            font-size: 14px;
            width: 20px;
            text-align: center;
        }

        .submenu .sub-item a .sub-badge {
            margin-right: auto;
            font-size: 10px;
            padding: 1px 8px;
            border-radius: 4px;
            background: rgba(255,255,255,0.06);
            color: var(--text-muted);
        }

            .submenu .sub-item a .sub-badge.hot {
                background: #ef4444;
                color: #fff;
            }

            .submenu .sub-item a .sub-badge.new {
                background: var(--accent);
                color: #000;
            }

/* ===== DIVIDER ===== */
.menu-divider {
    border-top: 1px solid var(--border-color);
    margin: 8px 0;
}

/* ===== SIDEBAR FOOTER ===== */
.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 8px;
}

    .sidebar-footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .sidebar-footer .footer-links a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            border-radius: 10px;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: var(--transition);
        }

            .sidebar-footer .footer-links a:hover {
                background: rgba(239, 68, 68, 0.08);
                color: #ef4444;
            }

            .sidebar-footer .footer-links a i {
                font-size: 16px;
                width: 24px;
                text-align: center;
            }

    .sidebar-footer .social-links {
        display: flex;
        gap: 8px;
        margin-top: 12px;
    }

        .sidebar-footer .social-links a {
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            color: var(--text-muted);
            font-size: 16px;
            transition: var(--transition);
            text-decoration: none;
        }

            .sidebar-footer .social-links a:hover {
                border-color: var(--border-hover);
                color: var(--accent);
                background: var(--accent-glow);
            }

/* ============================================ */
/* ===== TOAST ===== */
/* ============================================ */
.toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.c-toast {
    padding: 14px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Vazirmatn';
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    animation: tIn .4s ease, tOut .4s ease 2.6s forwards;
    backdrop-filter: blur(20px);
}

    .c-toast i {
        color: var(--accent);
        font-size: 16px;
    }

@keyframes tIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(30px);
    }
}
