:root {
    --primary-bg: #0a0e13;
    --secondary-bg: #141a21;
    --text-color: #ffffff;
    --accent-color: #f8a106;
    --card-bg: rgba(30, 40, 50, 0.671);
    --overlay-bg: rgba(0, 0, 0, 0.6);
    --border-color: rgba(255, 255, 255, 0.214);
    --hero-layer: rgba(0, 0, 0, 0.774);
}

.light-theme {
    --primary-bg: #b5b5b5;
    --secondary-bg: #a5a5a5;
    --text-color: #0a0e13;
    --card-bg: rgba(32, 32, 32, 0.78);
    --overlay-bg: rgba(83, 83, 83, 0.591);
    --border-color: rgba(53, 53, 53, 0.281);
    --accent-color: rgba(207, 0, 0, 0.973);
    --hero-layer: rgba(95, 81, 81, 0.582);


}


/* Webkit scrollbar برای دسکتاپ */
@media (min-width: 769px) {
    body::-webkit-scrollbar {
        width: 10px;
    }

    body::-webkit-scrollbar-track {
        background: var(--border-color);
        border-radius: 10px;
    }

    body::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 10px;
    }

    body::-webkit-scrollbar-thumb:hover {
        background: var(--text-color);
    }
}

/* موبایل: جلوگیری از ایجاد فضای اضافی */
@media (max-width: 768px) {
    body::-webkit-scrollbar {
        width: 0;
        /* یا می‌توانیم 0 بگذاریم */
    }
}

@font-face {
    font-family: "MyFont";
    src: url("/assets/fonts/Valhalla-Black.ttf") format("woff2");

    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

html {
    /* ⚠️ حذف scroll-behavior: smooth برای بارگذاری سریع‌تر */
    /* scroll-behavior: smooth; */
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    /* ✅ انتقال‌های رنگ و پس‌زمینه برای Theme Toggle حفظ شدند */
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    /* 🗑️ حذف transform-origin و transitionهای body برای مقیاس */
    /* transform-origin: top center; */
    /* transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease; */
}

/* 🗑️ حذف transform (مقیاس) از کلاس‌ها */
body.scale-up {
    /* transform: scale(1.1); */
}

body.scale-down {
    /* transform: scale(0.9); */
}

.container {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--primary-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0px 5px;


}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    border-bottom: 2px var(--accent-color);
}

/* پایه منو */
.dropdown {
    position: relative;
    display: inline-block;

}

.dropbtn {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 15px;
    display: block;
}

/* محتوای کشویی */
.dropdown-content {
    display: none;
    /* اول مخفی باشه */
    position: absolute;
    top: 100%;
    /* درست پایین لینک */
    left: 0;
    background-color: var(--secondary-bg);
    min-width: 150px;
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.288);
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
    padding: 2px 2px;
}

/* لینک‌های داخل کشو */
.dropdown-content li a {
    padding: 10px 15px;
    display: block;
    color: var(--accent-color);
    text-decoration: none;
}

.dropdown-content li a:hover {
    background-color: var(--border-color);
}

/* هاور کردن */
.dropdown:hover .dropdown-content {
    display: block;
}


.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* فاصله بین لوگو و متن */
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
}

.logo img {
    width: 3rem;
    /* می‌تونی کوچیک یا بزرگش کنی */

}


.search-container {
    display: flex;
    flex: 0 0 40%;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 4px 20px;
    border-radius: 10px;
    border: none;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    font-size: 0.9rem;
}



.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: background-color 1s;
    /* 🗑️ حذف انیمیشن bubblePop و تنظیم opacity اولیه */
    /* animation: bubblePop 1s ease-out forwards; */
    /* transform-origin: center; */
    opacity: 1;
    /* ✅ تنظیم به 1 */
}

/* هاور */
.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.24);
}

/* 🗑️ حذف کامل @keyframes bubblePop */
/* @keyframes bubblePop { ... } */


/* Theme Toggle Button */
.theme-toggle {
    background: transparent;

    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
border: solid 2px var(--text-color);
    height: 35px;
    width: 35px;
    border-radius: 10px;
    transition: background-color 0.3s;
    /* 🗑️ حذف انیمیشن bubblePop و تنظیم opacity اولیه */
    /* animation: bubblePop 0.7s ease-out forwards; */
    /* transform-origin: center; */
    opacity: 1;
    /* ✅ تنظیم به 1 */
    margin-left: 2px;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    /* 🗑️ حذف انیمیشن bubblePop و تنظیم opacity اولیه */
    /* animation: bubblePop 0.7s ease-out forwards; */
    /* transform-origin: center; */
    opacity: 1;
    /* ✅ تنظیم به 1 */
    border-radius: 10px;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* 🗑️ حذف انیمیشن Bubble-Pop دوم (که به اشتباه تکرار شده بود) */
/* @keyframes bubblePop { ... } */

/* مخفی کردن دکمه‌ها در موبایل */
@media (max-width: 768px) {
    .auth-btn {
        display: none;
    }

    /* نمایش منوی همبرگری در موبایل */
    .hamburger-menu {
        display: flex;
    }

    nav {
        display: none;
    }

    .auth-btn.signup {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
        color: #000;
        size: 0.2rem;
        padding: 10px;
    }

    .auth-btn.login {
        padding: 10px;
    }

        .action-btn{display: none;}

}

.theme-toggle {

    margin-left: 10px;
}


/* Navigation */
nav {
    background-color: var(--secondary-bg);
    padding: 5px 0;
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
    /* 🗑️ حذف انیمیشن linkFloat و تنظیم opacity اولیه */
    /* animation: linkFloat 0.5s ease forwards; */
    opacity: 1;
    /* ✅ تنظیم به 1 */
}

/* 🗑️ حذف تأخیر انیمیشن‌ها */
.nav-links li:nth-child(1) a {
    /* animation-delay: 0.1s; */
}

.nav-links li:nth-child(2) a {
    /* animation-delay: 0.2s; */
}

.nav-links li:nth-child(3) a {
    /* animation-delay: 0.4s; */
}

.nav-links li:nth-child(4) a {
    /* animation-delay: 0.6s; */
}

.nav-links li:nth-child(5) a {
    /* animation-delay: 0.8s; */
}

.nav-links li:nth-child(6) a {
    /* animation-delay: 1s; */
}

.nav-links li:nth-child(7) a {
    /* animation-delay: 1.2s; */
}

.nav-links li:nth-child(7) a {
    /* animation-delay: 1.4s; */
}

/* 🗑️ حذف کامل @keyframes linkFloat */
/* @keyframes linkFloat { ... } */

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.user-actions {
    display: flex;
    gap: 15px;
}

.auth-btn {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    /* ✅ انتقال به جای transition: all */
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    font-size: 0.7rem;
    /* 🗑️ حذف انیمیشن bubblePop و تنظیم opacity اولیه */
    /* animation: bubblePop 0.7s ease-out forwards; */
    opacity: 1;
    /* ✅ تنظیم به 1 */

}

/* 🗑️ حذف تأخیر انیمیشن‌ها */
.user-actions .auth-btn:nth-child(1) {
    /* animation-delay: 0.80s; */
}

.user-actions .auth-btn:nth-child(2) {
    /* animation-delay: 0.95s; */
}

/* 🗑️ حذف کامل @keyframes btnPop */
/* @keyframes btnPop { ... } */

.auth-btn:hover {
    background-color: var(--text-color);
    color: var(--primary-bg);
}

.auth-btn.signup {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    size: 0.4rem;
}

.auth-btn.signup:hover {
    background-color: var(--accent-color);
}

/* مخفی کردن دکمه‌ها در موبایل */
@media (max-width: 768px) {

    header {

        padding: 1rem 1rem;


    }

    .search-input {
        font-size: 0.6rem;
    }

}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* ارتفاع حداقل برابر با ارتفاع صفحه */
    width: 100%;
    display: flex;
    justify-content: center;
    /* مرکز افقی */
    align-items: center;
    /* مرکز عمودی */
    position: relative;
    background-image: url('/assets/img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-bottom: solid 2px var(--accent-color);
    border-radius: 0 0 10px 10px;
}

/* Overlay نیمه شفاف برای خوانایی متن */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hero-layer);
    /* جایگزین var(--hero-layer) با شفافیت مناسب */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    /* بالاتر از overlay */
    max-width: 50rem;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 10rem;
    /* متن وسط‌چین */
}

/* تیتر Hero */
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 5px;
    line-height: 1.1;
    color: #fff;
    /* ⚠️ کاهش پیچیدگی سایه */
    text-shadow: 0px 1px 3px rgb(0, 0, 0);
}

.highlight {
    color: var(--accent-color);
    font-size: 3.7rem;
}

/* پاراگراف Hero */
.hero p {
    font-size: 1.3rem;
    line-height: 1.4;
    color: #fff;
    /* ⚠️ کاهش پیچیدگی سایه */
    text-shadow: 0px 1px 2px rgb(0, 0, 0);

    margin-bottom: 2rem;
}

/* دکمه‌های CTA در Hero */
.hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}



/* ریسپانسیو برای موبایل و تبلت */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}


/* موبایل فرندلی و راست چین */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        min-width: 100%;
        justify-content: flex-start;
        /* راست چین کردن محتوا */
        align-items: flex-start;
        /* شروع از بالای صفحه */
        padding: 3rem 1rem;
        /* فاصله از بالا و طرفین */
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        /* استفاده کامل از عرض موبایل */
        text-align: center;
        padding: 0px 0px 60px;
        margin-bottom: 20rem;
    }

    .hero h1 {
        font-size: 1.1rem;
    }

    .highlight {
        color: var(--accent-color);
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .logo {
        font-size: 0.6rem;
        font-weight: bold;
        color: var(--accent-color);
        text-decoration: none;
        font-family: 'MyFont', Tahoma, Arial, sans-serif;
        flex-direction: column;
        /* متن بره زیر عکس */
        align-items: center;
        /* وسط‌چین شه */
    }

    .logo img {
        width: 45px;
        /* می‌تونی کوچیک یا بزرگش کنی */
        height: auto;
        /* ریسپانسیو بمونه */
        object-fit: contain;
    }

    .logo span {
        margin-top: 0.06rem;
        /* فاصله بین عکس و متن */
    }

    .header-actions {
        gap: 0.1rem;
        padding: 0.1rem 0.1rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        /* دکمه‌ها زیر هم قرار بگیرند */
        align-items: center;
        /* دکمه‌ها راست چین */
        gap: 10px;
    }

    .cta-btn {

        padding: 5px;
        font-size: 0.7rem;
        justify-content: center;
        /* متن دکمه وسط چین */
    }

}




.cta-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    /* ⚠️ حذف transform و کاهش سایه در transition */
    transition: box-shadow 0.3s;
    border: solid 2px var(--border-color);
    cursor: pointer;
    z-index: 9999;

}

.cta-btn:hover {
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateY(-5px) scale(1.05); */
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 0 5px 15px var(--accent-color);
    background-color: var(--text-color);
    /* تغییر رنگ کمی روشن‌تر */
    color: var(--primary-bg);
}

.cta-btn i {
    margin-right: 10px;
}

/* New Arrivals Section */
.section-title {
    font-size: 1.5rem;
    margin: 50px 0 30px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.scroll-down {
    position: absolute;
    bottom: 40vh;
    left: 7%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--accent-color);
    cursor: pointer;
    /* 🗑️ حذف انیمیشن گران‌قیمت bounce */
    /* animation: bounce 2s infinite; */
    z-index: 2;
    /* ⚠️ کاهش پیچیدگی سایه */
    text-shadow: 0px 2px 5px rgb(0, 0, 0);
}

/* 🗑️ حذف کامل @keyframes bounce */
/* @keyframes bounce { ... } */


.see-all {
    font-size: 0.8rem;
    color: #000000;
    /* رنگ متن روشن */
    background-color: var(--accent-color);
    /* رنگ پس‌زمینه */
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    /* مرکز افقی */
    align-items: center;
    /* مرکز عمودی */
    gap: 8px;
    font-weight: 600;
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    /* ⚠️ حذف transition گران‌قیمت */
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.see-all i {
    transition: transform 0.3s;
}

/* هاور دکمه */
.see-all:hover {
    background-color: var(--accent-color);
    /* تغییر رنگ پس‌زمینه */
    color: #fff;
    /* متن روشن */
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateY(-3px); */
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.see-all:hover i {
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateX(5px); */
}

.product-slider {
    position: relative;
    overflow: hidden;
}

.products-container {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.product-card {
    flex: 0 0 calc(25% - 15px);
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    /* ⚠️ حذف transform از transition */
    transition: box-shadow 0.3s;
}

.product-card:hover {
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateY(-10px); */
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: scale(1.1); */
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.add-to-cart {
    background-color: transparent;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
    margin: 50px 0;
}

.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.category-card:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
}

.category-card:nth-child(4) {
    grid-column: 3;
    grid-row: 1 / 3;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover .category-img {
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: scale(1.1); */
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: opacity 0.3s;
}

.category-title {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Featured Collection */
.featured-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin: 50px 0;
}

.featured-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.featured-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
}

.featured-category {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 150px;
}

.featured-category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-category:hover img {
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: scale(1.1); */
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.featured-category-title {
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

/* Offline Stores Section */
.stores-section {
    margin: 50px 0;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.store-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.store-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s;
}

.store-card:hover .store-image {
    filter: brightness(0.7);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: #000;
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

.store-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.store-location {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.store-address {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.store-hours {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.view-store-btn {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    /* ⚠️ حذف transform از transition */
    transition: opacity 0.3s;
}

.view-store-btn:hover {
    opacity: 0.8;
}

.view-store-btn i {
    margin-right: 5px;
    transition: transform 0.3s;
}

.view-store-btn:hover i {
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateX(-5px); */
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    padding: 50px 0 20px;
    margin-top: 50px;
    border-top: 2px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.8;
    /* ⚠️ حذف transform از transition */
    transition: opacity 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateX(-5px); */
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    /* ⚠️ حذف transform از transition */
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: #000;
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateY(-5px); */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--secondary-bg);
    z-index: 200000;
    padding: 20px;
    /* ✅ انتقال حفظ شد زیرا برای باز شدن منو ضروری است */
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    margin-top: 50px;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
}

.overlay.active {
    display: block;
}

/* 🗑️ حذف کامل @keyframes fadeIn, slideInRight و کلاس‌های مرتبط */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    /* animation: fadeIn 1s ease forwards; */
    opacity: 1;
    /* ✅ تنظیم به 1 */
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    /* animation: slideInRight 0.5s ease forwards; */
    opacity: 1;
    /* ✅ تنظیم به 1 */
    transform: translateX(0);
    /* ✅ تنظیم به 0 */
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .products-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }

    .product-card {
        flex: 0 0 calc(33.33% - 15px);
        scroll-snap-align: start;
    }

    .slider-controls {
        display: none;
    }

    .featured-section {
        grid-template-columns: 1fr;
    }

    .featured-title {
        grid-column: 1;
    }

    .featured-categories {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .product-card {
        flex: 0 0 calc(50% - 15px);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .category-card:first-child,
    .category-card:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .search-container {
        order: 3;
        flex: 0 0 100%;
        margin-top: 15px;
    }

    .product-card {
        flex: 0 0 calc(100% - 15px);
    }

    .featured-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        height: 60vh;
        margin-bottom: 5rem;
        margin-top: -2rem;
    }


    .categories-grid {
        grid-template-columns: 1fr;
    }

    .featured-categories {
        grid-template-columns: 1fr;
    }
}

/* Neumorphism and Modern Material Design Elements */
.neumorphic {
    border-radius: 15px;
    background: var(--secondary-bg);
    /* ⚠️ کاهش پیچیدگی سایه‌ها */
    box-shadow:
        5px 5px 10px rgba(0, 0, 0, 0.3),
        -3px -3px 6px rgba(255, 255, 255, 0.05);
    /* ⚠️ حذف transition: all */
    /* transition: all 0.3s ease; */
}

.neumorphic:hover {
    /* ⚠️ کاهش پیچیدگی سایه‌ها */
    box-shadow:
        3px 3px 8px rgba(0, 0, 0, 0.3),
        -2px -2px 5px rgba(255, 255, 255, 0.05);
}

.glass-effect {
    background: rgba(30, 40, 50, 0.3);
    /* ⚠️ کاهش مقدار تاری */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* انیمیشن دکمه هنگام اضافه شدن به سبد */
.add-to-cart.cart-added {
    background: #22c55e;
    color: white;
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: scale(1.1); */
    transition: 0.3s ease;
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.6);
}

/* 🗑️ حذف کامل @keyframes cart-bounce */
/* @keyframes cart-bounce { ... } */

.cart-bounce {
    /* animation: cart-bounce 0.5s ease; */
}

/* درخشش کوچک روی آیکون دکمه */
.add-to-cart.cart-added i {
    /* 🗑️ حذف انیمیشن pop */
    /* animation: pop 0.3s ease; */
}

/* 🗑️ حذف @keyframes pop اول (که برای آیکون بود) */
/* @keyframes pop { ... } */


/* 🗑️ حذف کامل کلاس و انیمیشن ذرات پس‌زمینه (Solar Particle) */
/* .solar-particle { ... } */
/* @keyframes solarFloat { ... } */

.fade {
    opacity: 0;
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateY(30px); */
    /* ⚠️ حذف transform از transition */
    transition: opacity 0.6s ease-out;
}

.fade.active {
    opacity: 1;
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateY(0); */
}

.search-suggestions {
    position: absolute;
    top: 45px;
    width: 100%;
    background: var(--secondary-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 8px 0;
    display: none;
    z-index: 2000;
}

.search-suggestions div {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: background 0.2s;
}

.search-suggestions div:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* تولتیپ برای تمام لینک‌ها و دکمه‌ها */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    top: 130%;
    /* فاصله از لینک */
    right: 50%;
    /* 🗑️ حذف transform گران‌قیمت */
    transform: translateX(50%);
    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    /* ⚠️ حذف transform از transition */
    transition: opacity 0.2s ease;
    z-index: 9999;
}

/* نمایش */
[data-tooltip]:hover::before {
    opacity: 1;
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateX(50%) translateY(5px); */
}



.cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    display: none;
    /* 🗑️ حذف انیمیشن pop */
    /* animation: pop 0.3s ease; */
}

/* 🗑️ حذف @keyframes pop دوم (که برای badge بود) */
/* @keyframes pop { ... } */

@media (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2000;
        /* از همه بالاتر */
    }

    nav {
        position: fixed;
        top: 60px;
        /* ارتفاع هدر */
        left: 0;
        width: 100%;
        z-index: 19999;
    }

    body {
        padding-top: 120px;
        /* جا برای header + nav */
    }
}

:root {
    --primary-bg: #0a0e13;
    --card-bg: #141a21;
    /* Darker background for neumorphism */
    --secondary-card-bg: #1c2633;
    /* Slightly lighter for main content */
    --accent-color: #f8a106;
    --text-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    /* Lighter border for definition */
    --hover-bg: rgba(255, 255, 255, 0.05);
    /* Light hover effect */
    --color-success: #4CAF50;
    --color-info: #2196F3;
    --color-warning: #FFC107;
    --color-danger: #F44336;
    --shadow-dark: rgba(0, 0, 0, 0.7);
    --shadow-light: rgba(255, 255, 255, 0.05);
}

/* ---------------------- Base Animations ---------------------- */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    /* ⚠️ بهینه سازی: حذف transform */
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------- Layout ---------------------- */
.profile-dashboard {
    display: flex;
    gap: 25px;
    /* Increased gap */
    padding: 30px 0;
    min-height: 70vh;
    /* ⚠️ کاهش زمان انیمیشن برای بارگذاری سریع‌تر */
    animation: fadeIn 0.1s ease forwards;
}


/* ---------------------- Sidebar - Changed for Neumorphism/Dark UI ---------------------- */
.sidebar {
    flex: 1;
    max-width: 280px;
    /* Slightly wider */
    background: var(--card-bg);
    /* Dark base */
    padding: 20px 15px;
    /* Slightly less vertical padding */
    border-radius: 20px;
    /* More rounded corners */
    border: none;
    /* Remove explicit border */
    /* ⚠️ کاهش پیچیدگی سایه نئومورفیسم */
    box-shadow: 5px 5px 10px var(--shadow-dark),
        -3px -3px 8px var(--shadow-light);
    /* ⚠️ حذف transition: all */
    /* transition: all 0.3s ease; */
}

.sidebar h3 {
    color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
    text-align: right;
    /* Align right */
}

.sidebar a {
    display: flex;
    /* Use flex for icon alignment */
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 10px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    /* Rounded items */
    background-color: transparent;
    transition: 0.3s ease;
}

.sidebar a i {
    font-size: 1.1rem;
    color: var(--border-color);
    /* Lighter icon color */
    transition: 0.3s ease;
}

.sidebar a:hover {
    background-color: var(--hover-bg);
}

.sidebar a.active {
    background-color: var(--accent-color);
    /* Highlight active link */
    color: var(--primary-bg);
    /* Dark text on active link */
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.sidebar a.active i {
    color: var(--primary-bg);
    /* Dark icon on active link */
}

/* ---------------------- Main Content - Changed for Neumorphism/Dark UI ---------------------- */
.main-content {
    flex: 4;
    background: var(--card-bg);
    /* Dark base, same as sidebar */
    padding: 35px;
    border-radius: 20px;
    /* More rounded corners */
    border: none;
    /* ⚠️ کاهش پیچیدگی سایه نئومورفیسم */
    box-shadow: inset 3px 3px 8px var(--shadow-dark),
        inset -3px -3px 8px var(--shadow-light);
}

/* ---------------------- Orders Table (Keep as is for now) ---------------------- */
.orders-list {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.orders-list table {
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.orders-list th,
.orders-list td {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

/* ---------------------- RESPONSIVE ---------------------- */

/* ========== Tablet ========== */
@media (max-width: 992px) {
    .profile-dashboard {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    .sidebar {
        max-width: 100%;
        width: 100%;
    }
}

/* ========== Mobile ========== */
@media (max-width: 768px) {

    .profile-dashboard {
        padding-bottom: 70px;
    }

    /* حذف سایدبار */
    .sidebar {
        display: none;
    }

    /* محتوا کوچکتر */
    .main-content {
        padding: 20px;
    }

    /* ----------- Bottom Navigation ----------- */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        height: 60px;
        background: var(--card-bg);
        border-top: 4px solid var(--accent-color);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 999;
        /* ⚠️ کاهش تاری */
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        /* ⚠️ کاهش پیچیدگی سایه */
        box-shadow: 0 -3px 10px var(--shadow-dark);
        border-radius: 10px 10px 0px 0px;

    }

    .mobile-bottom-nav a {
        color: var(--text-color);
        font-size: 1.35rem;
        transition: 0.3s ease;
    }

    .mobile-bottom-nav a.active {
        color: var(--accent-color);
        /* 🗑️ حذف transform گران‌قیمت */
        /* transform: translateY(-5px) scale(1.1); */
    }

    /* ----------- Orders Table Responsive ----------- */

    /* ریزتر کردن جدول */
    .orders-list table {
        min-width: 480px;
        font-size: 0.65rem;
    }

    .orders-list th,
    .orders-list td {
        padding: 6px 4px;
    }

    /* دکمه‌ها کوچک‌تر */
    .orders-list .submit-btn {
        padding: 4px 6px !important;
        font-size: 0.65rem !important;
    }
}

/* ========== Small Mobile ========== */
@media (max-width: 480px) {
    .main-content {
        padding: 15px;
    }
}

/* ===== کانتنت داشبورد - Updated for Neumorphism/Dark UI ===== */
#profile-content {
    background: transparent;
    /* Main content already has background */
    padding: 0;
    /* Remove padding as it's already in main-content */
    border-radius: 0;
    border: none;
    box-shadow: none;
    width: 100%;
    margin: 0;
    margin-top: 0;
}

/* ===== تیتر بخش‌ها ===== */
#profile-content h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

#profile-content h2 i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

/* ===== فرم‌ها - Neumorphic Inputs ===== */
#profile-content .form-group {
    margin-bottom: 18px;
}

#profile-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

#profile-content input,
#profile-content textarea,
#profile-content select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: none;
    /* Remove default border */
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 0.95rem;
    /* ⚠️ کاهش پیچیدگی سایه داخلی */
    box-shadow: inset 2px 2px 4px var(--shadow-dark),
        inset -2px -2px 4px var(--shadow-light);
    transition: all 0.3s ease;
}

#profile-content input:focus,
#profile-content textarea:focus,
#profile-content select:focus {
    /* Accent focus glow */
    outline: none;
    /* ⚠️ کاهش پیچیدگی سایه داخلی */
    box-shadow: inset 1px 1px 3px var(--shadow-dark),
        inset -1px -1px 3px var(--shadow-light),
        0 0 0 2px var(--accent-color);
}

/* ===== دکمه ===== */
#profile-content .submit-btn,
#profile-content .btn-primary {
    background: var(--accent-color);
    color: #000;
    padding: 12px 25px;
    border-radius: 15px;
    /* More rounded */
    border: none;
    cursor: pointer;
    font-weight: bold;
    /* ⚠️ حذف transition: 0.2s */
    /* transition: 0.2s; */
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4),
        -1px -1px 3px rgba(255, 255, 255, 0.1);
}

#profile-content .submit-btn:hover,
#profile-content .btn-primary:hover {
    background: #ffb933;
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6),
        -3px -3px 8px rgba(255, 255, 255, 0.05);
    /* 🗑️ حذف transform گران‌قیمت */
    /* transform: translateY(-1px); */
}

/* ===== کارت کلی بخش (if needed) ===== */
.profile-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 20px;
    border: none;
    /* ⚠️ کاهش پیچیدگی سایه */
    box-shadow: 3px 3px 8px var(--shadow-dark),
        -3px -3px 8px var(--shadow-light);
}

/* ===== ریسپانسیو موبایل ===== */
@media (max-width: 600px) {
    #profile-content {
        padding: 18px;
    }

    #profile-content input,
    #profile-content textarea,
    #profile-content select {
        font-size: 0.85rem;
        padding: 10px;
    }

    #profile-content h2 {
        font-size: 1.1rem;
    }
}

/* استایل مخصوص تبلت */
@media (min-width: 768px) and (max-width: 1024px) {

    .mobile-bottom-nav {
        display: none;

    }
}

@media (min-width: 1025px) {
    .mobile-bottom-nav {
        display: none;

    }
}


/* Styling for Mobile Dropdown in mobile-menu */

.mobile-dropdown-content {
    list-style: none;
    padding-right: 20px; /* برای تو رفتگی */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.mobile-dropdown-li.active .mobile-dropdown-content {
    max-height: 500px; /* مقدار زیاد برای نمایش کامل زیرمنو */
    padding-top: 10px;
}

.mobile-dropdown-content li a {
    display: block;
    padding: 8px 0;
    font-size: 0.9em;
    color: var(--text-color-faded);
}

.mobile-dropdown-content li a:hover {
    color: var(--accent-color);
}

.mobile-dropbtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 0;
}

.mobile-dropbtn .fa-chevron-down {
    transition: transform 0.3s ease;
}

.mobile-dropdown-li.active .fa-chevron-down {
    transform: rotate(180deg);
}




/*
 * استایل سفارشی برای وسط‌چین کردن اجباری محتوای مقاله بلاگ
 * این ترکیب، هم متن و هم عناصر بلوکی (مانند تصاویر) را وسط‌چین می‌کند.
 */
.belog-content-section .belog-text {
    /* ۱. وسط‌چین کردن متن (برای پاراگراف‌ها، لینک‌ها و غیره) */
    text-align: center !important;

    /* ۲. استفاده از Flexbox برای وسط‌چین کردن عناصر بلوکی داخلی (مانند تصاویر، ویدیوها و دیوهای با عرض محدود) */
    display: flex;
    flex-direction: column;
    /* این خط عناصر داخلی Flex (Item) را در راستای اصلی (افقی) وسط‌چین می‌کند */
    align-items: center;

    /* ۳. در صورت نیاز به وسط‌چین کردن خود بلوک article در کانتینر والد */
    margin-left: auto;
    margin-right: auto;
    /* اگر عرض article را محدود نکرده‌اید، این خط تأثیری ندارد */

    /* اگر محتوا دارای یک Max-width داخلی است که نمی‌خواهید وسط‌چین شود، 
       align-items را حذف کنید و به جای آن از margin: 0 auto; برای عناصر داخلی استفاده کنید.
       اما اگر هدف وسط‌چین کردن اجباری همه چیز است، این تنظیمات بهترین راهکارند. */
}
/* CSS مورد نیاز برای نوتیفیکیشن تکمیل پروفایل */
.notification-bar {
    position: sticky;
    /* برای اینکه در بالای صفحه ثابت بماند */
    top: 0;
    width: 100%;
    padding: 12px 20px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.success-notification {
    background-color: #4CAF50;
    /* رنگ سبز جذاب */
}

.notification-bar p {
    margin: 0;
    flex-grow: 1;
}

.notification-bar a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    margin: 0 5px;
}

.notification-bar i {
    margin-left: 10px;
}

.close-notification {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    margin-right: 15px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-notification:hover {
    opacity: 1;
}


#scroll-container,
[data-speed] {
    will-change: transform;
    backface-visibility: hidden;
    /* جلوگیری از پرش در موبایل */
}



/* منوی پایین متصل به متغیرهای تم شما */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;

    /* استفاده از رنگ پس‌زمینه ثانویه شما */
    background: var(--secondary-bg);

    /* ایجاد یک افکت شیشه‌ای ملایم روی پس‌زمینه شما */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    display: flex;
    justify-content: space-around;
    align-items: center;

    /* استفاده از رنگ بوردر تعریف شده در تم */
    border-top: 1px solid var(--border-color);

    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    text-decoration: none;
    /* استفاده از رنگ متن اصلی تم */
    color: var(--text-color);
    opacity: 0.7;
    /* در حالت غیرفعال کمی کمرنگ‌تر */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    transition: all 0.3s ease;
    flex: 1;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

/* حالت فعال و هوور با رنگ اکسنت شما (نارنجی در دارک / قرمز در لایت) */
.nav-item:hover,
.nav-item.active {
    opacity: 1;
    color: var(--accent-color);
}

.nav-item.active i {
    transform: translateY(-3px);
    /* یک انیمیشن کوچک برای گزینه فعال */
}

/* نشانگر سبد خرید */
.cart-icon-wrapper .badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 10px;
    padding: 2px 5px;
    font-size: 9px;
    font-weight: bold;
}

/* نمایش فقط در موبایل */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    /* فضای خالی برای اینکه محتوا زیر منو نرود */
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }
}