:root {
    /* فونت‌ها */
    --font-main: 'Vazirmatn', sans-serif;
    --font-special: 'Lalezar', cursive;
    /* رنگ‌های اصلی */
    --primary-color: #3087e1;
    --primary-gradient: linear-gradient(to bottom, #4ea6f5, #3087e1);
    --secondary-color: #ff7f00;
    --orange-primary: #ff7f00;
    --orange-darker: #e67300;
    --icon-orange: #ff5e00;
    /* رنگ‌های گرادینت */
    --gradient-top: #f5624e;
    --gradient-bottom: #e14530;
    --copyright-gradient-start: #ff5e00;
    --copyright-gradient-end: #ffa700;
    --gradient-overlay-bottom: rgba(156, 61, 0, 0.8);
    --gradient-overlay-mid: rgba(255, 102, 0, 0.4);
    --gradient-overlay-top: rgba(255, 165, 0, 0);
    /* رنگ‌های متن */
    --text-dark: #333;
    --text-dark-bold: #444;
    --text-gray: #666;
    /* رنگ‌های پس‌زمینه */
    --white: #fff;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --card-bg: #343a40;
    --light-orange-bg: #ffe0d1;
    --button-bg: rgba(255, 255, 255, 0.3);
    --button-hover-bg: rgba(241, 235, 235, 0.5);
    --button-gray-bg: #e9ecef;
    --time-box-bg: rgba(255, 255, 255, 0.3);
    --badge-bg: #ff7f00;
    /* رنگ‌های سایه و مرز */
    --time-box-shadow: rgba(0, 0, 0, 0.2);
    --navbar-shadow: rgba(0, 0, 0, 0.1);
    --card-shadow: rgba(0, 0, 0, 0.2);
    --border-light: #ddd;
    --icon-border-color: #dee2e6;
    /* رنگ‌های آیکون و فلش */
    --icon-gray: #888;
    --icon-bg-color: #f8f9fa;
    --arrow-gray: #aaa;
    --arrow-hover: #ff7f00;
    --nav-arrow-color: #6c757d;
    --nav-arrow-hover: #343a40;
    --filter-underline: #a94442;
    --primary: #3087e1;
    --primary-dark: #2778c7;
    --primary-light: #4ea6f5;
    --primary-gradient: linear-gradient(135deg, #3087e1, #4ea6f5);
    --orange: #ff7f00;
    --orange-dark: #e67300;
    --orange-light: #ff9933;
    --orange-gradient: linear-gradient(135deg, #ff7f00, #ff9933);
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --dark: #343a40;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --gray-dark: #495057;
    --white: #ffffff;
    --black: #000000;
    --body-bg: #f8fafc;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --btn-shadow: 0 4px 10px rgba(255, 127, 0, 0.25);
    --transition: all 0.3s ease;
}

/* ===== متغیرهای رنگ و سایه ===== */

   

/* تعریف فونت */
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/font/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
}

/* استایل‌های پایه */
body {
    margin: 0;
    font-family: var(--font-main);
}

/* استایل‌های بنر */
.banner {
    background: #faf7f7;
    padding: 2rem;
    color: var(--text-dark);
}

.banner-top {
    padding: 10px 0;
}

/* استایل‌های لوگو */
.logo-container {
    display: flex;
    align-items: center;
    width: auto;
    padding: 10px;
}

.logo img {
    max-width: 100%;
    height: auto;
    width: 250px;
    border: 2px solid var(--border-light);
    box-shadow: 0 2px 5px var(--navbar-shadow);
    background-color: var(--light-bg);
    padding: 8px;
    border-radius: 8px;
    margin-top: -15px;
    transition: transform 0.3s ease;
}

    .logo img:hover {
        transform: scale(1.05);
    }

/* استایل‌های شمارنده */
.countdown {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
}

.time-box {
    background-color: var(--time-box-bg);
    border-radius: 8px;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 4px var(--time-box-shadow);
    color: var(--text-dark);
}

    .time-box > span:first-child {
        font-size: 1.3rem;
        font-weight: bold;
    }

.time-label {
    font-size: 0.8rem;
}

.time-label-dot {
    font-weight: bold;
    font-size: 1.2rem;
}

/* استایل‌های متن سفارشی */
.b-custom-text {
    font-family: var(--font-main);
}

/* استایل‌های دکمه ترکیبی */
.custom-combined-button {
    background-color: var(--button-bg);
    border: none;
    color: var(--white);
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-right: auto;
    margin-top: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .custom-combined-button:hover {
        background-color: var(--button-hover-bg);
        transform: translateY(-2px);
    }

.arrow-icon {
    margin-left: 0.5rem;
    transition: margin-left 0.2s ease;
}

.custom-combined-button:hover .arrow-icon {
    margin-left: 0.8rem;
}

/*===استایل‌های نوبار بالایی=== */

/**/
/* هدر مدرن */
.modern-header {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

/* ===== بخش دسکتاپ ===== */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* لوگو و نام شرکت */
.header-logo-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.header-logo-brand img {
    height: 45px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.logo-shine {
    position: absolute;
    top: -50%;
    left: -150%;
    width: 40%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    transition: left 1s cubic-bezier(0.65, 0.05, 0.36, 1);
    z-index: 2;
    pointer-events: none;
}

    .logo-shine.active {
        left: 150%;
    }

/* اطلاعات برند */
.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #3087e1, #4ea6f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInRight 0.6s ease forwards;
}

.brand-desc {
    font-size: 12px;
    color: #666;
    margin: 3px 0 0 0;
    animation: fadeInRight 0.6s ease forwards;
}

/* جستجو - استایل جدید مشابه موبایل */
.header-search {
    flex: 1;
    max-width: 450px;
    margin: 0 20px;
}

.search-form {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-form input {
    flex: 1;
    height: 40px;
    border: none;
    padding: 0 32px 0 80px;
    font-size: 13px;
    outline: none;
}

.search-form button {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #3087e1;
    color: white;
    border: none;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .search-form button:hover {
        background-color: #2778c7;
    }

/* عناصر سمت راست */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* باکس تماس */
.contact-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 15px;
    border-left: 1px solid #eee;
}

.contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3087e1, #4ea6f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 11px;
    color: #777;
    margin-bottom: 2px;
}

.contact-number {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}

/* ورود/ثبت نام */
.login-box {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    background-color: #f5f7fa;
    padding: 8px 15px;
    border-radius: 10px;
    transition: all 0.3s;
}

.login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.login-text {
    font-size: 13px;
    font-weight: 600;
}

.login-box:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(48, 135, 225, 0.25);
}

    .login-box:hover .login-icon {
        color: white;
    }

/* سبد خرید */
.cart-box {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    background-color: #f5f7fa;
    padding: 8px 15px;
    border-radius: 10px;
    transition: all 0.3s;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--orange-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-text {
    font-size: 13px;
    font-weight: 600;
}

.cart-box:hover {
    background-color: var(--orange-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.25);
}

    .cart-box:hover .cart-count {
        background-color: white;
        color: var(--orange-primary);
    }

/* ===== هدر موبایل ===== */
.mobile-header-wrapper {
    display: none;
}

/* انیمیشن‌های متن */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== طراحی موبایل بهبودیافته با رنگ آبی و وسط‌چینی ===== */
@media (max-width: 991px) {
    .modern-header {
        padding: 0;
    }

    /* مخفی کردن هدر دسکتاپ */
    .header-flex {
        display: none;
    }

    /* نمایش هدر موبایل */
    .mobile-header-wrapper {
        display: block;
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 1000;
        background-color: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    /* نوار اصلی هدر موبایل با رنگ آبی */
   .mobile-header-main {
      background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
     padding: 10px 0;
 }


    .mobile-main-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 65px; /* ارتفاع بیشتر برای متن */
    }

    /* دکمه منو با طراحی جدید */
    .mobile-menu-btn {
        background: transparent;
        border: none;
        padding: 0;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
    }

    .hamburger {
        width: 20px;
        height: 16px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .hamburger span {
            display: block;
            height: 2px;
            width: 100%;
            background-color: white;
            border-radius: 2px;
            transition: all 0.3s;
        }

    .mobile-menu-btn:hover .hamburger span:nth-child(1) {
        width: 70%;
    }

    .mobile-menu-btn:hover .hamburger span:nth-child(2) {
        width: 100%;
    }

    .mobile-menu-btn:hover .hamburger span:nth-child(3) {
        width: 70%;
        margin-right: auto;
    }

    /* برند موبایل وسط‌چین */
    .mobile-brand {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .mobile-brand-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mobile-brand .logo-link {
        margin-bottom: 5px;
    }

    .mobile-brand img {
        height: 38px; /* لوگو بزرگتر */
        object-fit: contain;
        position: relative;
        z-index: 1;
    }

    .mobile-brand-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-brand-name {
        font-size: 14px;
        font-weight: 800; /* بولدتر */
        margin: 0;
        color: white;
        white-space: nowrap;
        animation: fadeInDown 0.6s ease forwards;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }

    .mobile-brand-desc {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.9);
        margin: 2px 0 0 0;
        white-space: nowrap;
        animation: fadeInDown 0.6s 0.1s ease forwards;
        opacity: 0;
    }

    /* سبد خرید موبایل */
    .mobile-cart {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        color: white;
        text-decoration: none;
        transition: all 0.3s;
        flex-shrink: 0;
    }

        .mobile-cart:hover {
            color: rgba(255, 255, 255, 0.8);
        }

    .mobile-cart-count {
        position: absolute;
        top: -4px;
        right: -4px;
        background-color: #ff7f00; /* نارنجی */
        color: white;
        font-size: 10px;
        font-weight: 700;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    /* جستجوی موبایل */
    .mobile-search-wrapper {
        background-color: #f0f4f8;
        padding: 8px 0;
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        background-color: white;
        border-radius: 6px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
        position: relative;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

        .mobile-search-form .search-icon {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
        }

        .mobile-search-form input {
            flex: 1;
            height: 38px;
            border: none;
            padding: 0 32px 0 70px;
            font-size: 13px;
            outline: none;
        }

        .mobile-search-form button {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            background-color: #3087e1;
            color: white;
            border: none;
            padding: 0 12px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
        }

    /* انیمیشن‌های ورود */
    .mobile-header-main {
        animation: fadeInDown 0.4s ease forwards;
    }

    .mobile-search-wrapper {
        animation: fadeInDown 0.4s 0.1s ease forwards;
        opacity: 0;
    }

    /* تنظیمات برای صفحات کوچکتر */
    @media (max-width: 576px) {
        .mobile-brand img {
            height: 35px; /* همچنان بزرگتر از قبل */
        }

        .mobile-brand-name {
            font-size: 13px;
        }

        .mobile-brand-desc {
            font-size: 9px;
        }

        .mobile-search-form input {
            font-size: 12px;
            padding-left: 65px;
        }

        .mobile-search-form button {
            padding: 0 10px;
            font-size: 11px;
        }

        .mobile-main-flex {
            height: 60px;
        }

        .hamburger {
            width: 18px;
            height: 14px;
        }
    }
}


/**/
/* استایل‌های offcanvas */
.offcanvas-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

/* استایل‌های منوی سفارشی */
.custom-menu {
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 0.5rem 1rem;
    margin: 1rem;
}

    .custom-menu .nav-link {
        color: var(--text-dark);
        margin: 0 0.5rem;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .custom-menu .nav-link:hover {
            color: var(--orange-primary);
        }

.arrow {
    font-size: 0.1em;
    margin-left: 0.3em;
    color: var(--text-dark);
}

.navbar-nav {
    flex-direction: row;
}

.dropdown-menu {
    right: 0;
    left: auto;
}

/* استایل‌های کاروسل سفارشی */
.custom-carousel {
    overflow: hidden;
    background-color: #a62c2b;
    border-radius: 15px;
    margin:10px;
  
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
}

.custom-carousel h2,
.custom-carousel p,
.btn-custom-view {
    display: none;
}

.carousel-indicators {
    padding-bottom: 1rem;
}

/* استایل‌های کارت سفارشی */
.custom-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 8px var(--card-shadow);
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

    .custom-card:hover {
        transform: translateY(-5px);
    }

.custom-badge {
    border-radius: 10px;
    font-weight: bold;
    padding: 0.3rem 0.6rem;
    background-color: var(--badge-bg);
    color: var(--white);
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.card-title,
.card-text,
.btn-custom-orange {
    display: none;
}


/*=== استایل منوی دسکتاپ=== */

/* */
/* استایل‌های منو */
.mega-menu-container {
    background: var(--white);
    box-shadow: 0 4px 12px var(--navbar-shadow);
    z-index: 1000;
    border-radius: 0 0 10px 10px;


}

.menu-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.navbar-content {
    flex: 1;
    overflow: hidden;
}

.main-menu {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none; /* برای فایرفاکس */
    -ms-overflow-style: none; /* برای اینترنت اکسپلورر و اج */
    transition: all 0.3s ease;
    justify-content: center; /* تراز وسط */
}

    .main-menu::-webkit-scrollbar {
        display: none; /* برای کروم و سافاری */
    }

.nav-item {
    flex: 0 0 auto;
    transition: all 0.3s ease;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 8px;
    margin: 4px 3px;
}

.nav-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--icon-bg-color);
    margin-bottom: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid var(--icon-border-color);
}

.nav-link i {
    font-size: 16px;
    transition: all 0.3s ease;
    color: var(--icon-gray);
}

.nav-text {
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* استایل ویژه برای صفحه نخست */
.home-item .nav-link {
    background-color: rgba(48, 135, 225, 0.05);
}

.home-item .nav-icon-wrapper {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 3px 8px rgba(48, 135, 225, 0.3);
    border: none;
}

    .home-item .nav-icon-wrapper i {
        color: var(--white);
    }

.home-link .nav-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* افکت‌های هاور */
.nav-link:hover {
    background-color: rgba(255, 127, 0, 0.05);
    transform: translateY(-2px);
}

    .nav-link:hover .nav-icon-wrapper {
        transform: scale(1.1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

.category-link:hover .nav-icon-wrapper,
.home-link:hover .nav-icon-wrapper {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
}

    .category-link:hover .nav-icon-wrapper i,
    .home-link:hover .nav-icon-wrapper i {
        color: var(--white);
    }

.nav-link:hover .nav-text,
.home-link:hover .nav-text {
    color: var(--orange-primary);
    font-weight: 600;
}

/* دکمه‌های اسکرول */
.nav-scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.9;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
    margin: 0 5px;
}

    .nav-scroll-btn.hidden {
        opacity: 0;
        visibility: hidden;
        width: 0;
        margin: 0;
    }

    .nav-scroll-btn:hover {
        background: var(--orange-primary);
        color: white;
        box-shadow: 0 3px 10px rgba(255, 127, 0, 0.3);
        opacity: 1;
    }

    .nav-scroll-btn i {
        font-size: 14px;
        color: var(--nav-arrow-color);
        transition: all 0.3s ease;
    }

    .nav-scroll-btn:hover i {
        color: var(--white);
    }

/* انیمیشن برای لود شدن منو */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-menu {
    animation: fadeInDown 0.3s ease-out forwards;
}

.nav-item {
    opacity: 0;
    animation: fadeInDown 0.3s ease-out forwards;
}

    /* تأخیر انیمیشن برای هر آیتم */
    .nav-item:nth-child(1) {
        animation-delay: 0.05s;
    }

    .nav-item:nth-child(2) {
        animation-delay: 0.1s;
    }

    .nav-item:nth-child(3) {
        animation-delay: 0.15s;
    }

    .nav-item:nth-child(4) {
        animation-delay: 0.2s;
    }

    .nav-item:nth-child(5) {
        animation-delay: 0.25s;
    }

    .nav-item:nth-child(n+6) {
        animation-delay: 0.3s;
    }

/* افکت آندرلاین برای منو */
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    margin-top: 4px;
    background: var(--orange-primary);
    transition: all 0.3s ease;
    opacity: 0;
}

.nav-link:hover::after {
    width: 60%;
    opacity: 1;
}

/* سازگاری با اندازه‌های مختلف صفحه نمایش */
@media (min-width: 1200px) {
    mega-menu-container
    .nav-link {
        padding: 12px 18px;
    }

    .nav-icon-wrapper {
        width: 42px;
        height: 42px;
    }

    .nav-text {
        font-size: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-link {
        padding: 10px 14px;
    }
}


/**/
.custom-offcanvas {
    width: 300px;
    border: none;
    background-color: #f8fafc;
}

/* هدر منو */
.offcanvas-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
    color: white;
}

.offcanvas-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.offcanvas-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.offcanvas-brand-info {
    display: flex;
    flex-direction: column;
}

.offcanvas-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.offcanvas-subtitle {
    margin: 3px 0 0;
    font-size: 11px;
    opacity: 0.9;
}

.btn-close-custom {
    background: transparent;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-close-canvas-menu {
    background: transparent;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-close-custom:hover {
    transform: rotate(90deg);
}

    .btn-close-custom i {
        font-size: 20px;
    }

/* بدنه منو */
.offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: calc(100% - 81px); /* ارتفاع کل منهای هدر */
}

/* تب‌های منو */
.menu-tabs {
    display: flex;
    padding: 15px;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: white;
}

.menu-tab {
    flex: 1;
    border: none;
    background-color: #f0f4f8;
    color: #666;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .menu-tab i {
        font-size: 16px;
        color: #777;
        transition: color 0.3s;
    }

    .menu-tab.active {
        background: linear-gradient(135deg, #1e5799 0%, #2989d8 100%);
        color: white;
        box-shadow: 0 3px 10px rgba(48, 135, 225, 0.25);
    }

        .menu-tab.active i {
            color: white;
        }

    .menu-tab:hover:not(.active) {
        background-color: #e8eef5;
    }

/* جستجو در منو */
.menu-search {
    margin: 15px;
    position: relative;
}

    .menu-search input {
        width: 100%;
        height: 42px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 0 36px 0 15px;
        font-size: 13px;
        background-color: white;
        box-shadow: 0 2px 6px rgba(0,0,0,0.03);
        transition: all 0.3s;
    }

        .menu-search input:focus {
            border-color: #3087e1;
            box-shadow: 0 0 0 3px rgba(48, 135, 225, 0.1);
            outline: none;
        }

    .menu-search .search-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-size: 14px;
    }

/* لیست آیتم‌های منو */
.menu-list {
    list-style: none;
    padding: 10px;
    margin: 0;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    opacity: 0;
    animation: fadeInDown 0.3s ease-out forwards;
}

/* آیتم‌های منو - استایل مشابه دسکتاپ */
.menu-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

    .menu-link:hover {
        background-color: rgba(255, 127, 0, 0.05);
        transform: translateY(-2px);
    }

/* آیکون منو - استایل مشابه دسکتاپ */
.nav-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--icon-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid var(--icon-border-color);
    flex-shrink: 0;
}

.menu-link i {
    font-size: 16px;
    color: var(--icon-gray);
    transition: all 0.3s ease;
}

.menu-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* استایل ویژه برای صفحه نخست */
.home-item .nav-icon-wrapper {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 3px 8px rgba(48, 135, 225, 0.3);
    border: none;
}

    .home-item .nav-icon-wrapper i {
        color: var(--white);
    }

.home-link .menu-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* افکت‌های هاور - مشابه دسکتاپ */
.menu-link:hover .nav-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.category-link:hover .nav-icon-wrapper,
.home-link:hover .nav-icon-wrapper {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
}

    .category-link:hover .nav-icon-wrapper i,
    .home-link:hover .nav-icon-wrapper i {
        color: var(--white);
    }

.menu-link:hover .menu-text,
.home-link:hover .menu-text {
    color: var(--orange-primary);
    font-weight: 600;
}

/* افکت آندرلاین مشابه دسکتاپ */
.menu-link::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--orange-primary);
    transition: all 0.3s ease;
    opacity: 0;
}

.menu-link:hover::after {
    width: 40%;
    opacity: 1;
}

/* بخش کاربر */
.menu-user-section {
    margin-top: auto;
    padding: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: white;
}

.menu-user-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background-color: #f0f4f8;
    text-decoration: none;
    transition: all 0.3s;
}

    .menu-user-link:hover {
        background-color: rgba(255, 127, 0, 0.05);
        transform: translateY(-2px);
    }

.user-icon {
    background: var(--primary-gradient);
    border: none;
    width: 44px;
    height: 44px;
}

    .user-icon i {
        color: white;
        font-size: 18px;
    }

.menu-user-link:hover .user-icon {
    background: var(--orange-primary);
    transform: scale(1.1);
}

.menu-user-info {
    display: flex;
    flex-direction: column;
}

.menu-user-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.menu-user-subtitle {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.menu-user-link:hover .menu-user-title {
    color: var(--orange-primary);
    font-weight: 600;
}

/* تنظیمات برای حالت محتوا */
.menu-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 70px); /* ارتفاع کل منهای تب‌ها */
    overflow: hidden;
}

/* انیمیشن‌ها */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأخیر انیمیشن برای هر آیتم */
.menu-item:nth-child(1) {
    animation-delay: 0.05s;
}

.menu-item:nth-child(2) {
    animation-delay: 0.1s;
}

.menu-item:nth-child(3) {
    animation-delay: 0.15s;
}

.menu-item:nth-child(4) {
    animation-delay: 0.2s;
}

.menu-item:nth-child(5) {
    animation-delay: 0.25s;
}

.menu-item:nth-child(n+6) {
    animation-delay: 0.3s;
}
/**/

/* */
/* ===استایل‌های کارت دسته‌بندی محصول=== */
/* */
/* استایل‌های اصلی */
.product-categories-showcase {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

/* جداکننده اولیه (بدون تغییر) */
.modern-separator {
    margin-bottom: 2.5rem;
}

.separator-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.6), transparent);
    flex-grow: 1;
    max-width: 180px;
}

.separator-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0062cc, #007bff);
    color: white;
    margin: 0 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transition: transform 0.3s ease;
}

    .separator-icon i {
        font-size: 1.5rem;
    }

    .separator-icon:hover {
        transform: rotate(45deg);
    }

/* عنوان بخش */
.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.glow-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.animated-line {
    height: 4px;
    width: 80px;
    background: #3087e1;

        margin: 0 auto;
    border-radius: 2px;
}

/* گرید کارت‌های دسته‌بندی - طراحی جدید */
.neo-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/* کارت دسته‌بندی - طراحی جدید با رنگ‌بندی شیک‌تر */
.neo-category-card {
    width: calc(25% - 2rem);
    min-width: 250px;
    height: 300px;
    perspective: 1000px;
}

    .neo-category-card a {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: inherit;
    }

/* کانتینر 3D برای افکت چرخش */
.card-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.neo-category-card:hover .card-3d-container {
    transform: rotateY(180deg);
}

/* استایل مشترک وجه‌های کارت */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* وجه جلو کارت - طراحی شیک‌تر */
.card-front {
    background-color: white;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
}

/* بخش تصویر با طراحی شیک‌تر */
.image-box {
    width: 100%;
    height: 65%;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
}

    .image-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #3498db, #2980b9);
        z-index: 1;
    }

    .image-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 1rem;
        transition: transform 0.5s ease;
    }

.neo-category-card:hover .image-box img {
    transform: scale(1.05);
}

/* بخش نوشته با طراحی شیک‌تر */
.category-details {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 35%;
    justify-content: space-between;
    background-color: #fafafa;
    position: relative;
}

    .category-details::after {
        content: '';
        position: absolute;
        top: 0;
        left: 15%;
        right: 15%;
        height: 1px;
        background-color: #e0e0e0;
    }

.category-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    position: relative;
    display: inline-block;
}

    .category-name::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: #3498db;
        transition: width 0.3s ease;
    }

.neo-category-card:hover .category-name::after {
    width: 60px;
}

.view-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

    .view-indicator i {
        font-size: 1.1rem;
        color: #3498db;
        animation: point-right 1.5s infinite;
    }

@keyframes point-right {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

/* وجه پشت کارت - طراحی شیک‌تر */
.card-back {
    background: linear-gradient(135deg, var(--primary-color), #4ea6f5);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

    .back-content::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .category-icon i {
        font-size: 1.8rem;
        color: white;
    }

.back-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.back-description {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
/* استایل دکمه مشاهده محصولات */
.action-button {
    background-color: white;
    color: #2980b9;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

    .action-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    .action-button i {
        font-size: 1.1rem;
    }

/* استایل‌های ریسپانسیو - بهینه شده برای موبایل */
@media (max-width: 1200px) {
    .neo-category-card {
        width: calc(33.333% - 2rem);
    }
}

@media (max-width: 992px) {
    .neo-category-card {
        width: calc(50% - 1.5rem);
        height: 280px;
    }

    .neo-categories-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .glow-title {
        font-size: 1.8rem;
    }

    .neo-category-card {
        width: calc(50% - 1rem); /* دقیقاً 2 کارت در هر سطر */
        min-width: 0; /* حذف حداقل عرض برای موبایل */
        height: 250px;
    }

    .neo-categories-grid {
        gap: 1rem;
    }

    .category-name {
        font-size: 1rem;
    }

        .category-name::after {
            width: 30px;
            height: 1.5px;
        }

    .neo-category-card:hover .category-name::after {
        width: 45px;
    }

    .view-indicator {
        font-size: 0.8rem;
    }

        .view-indicator i {
            font-size: 0.9rem;
        }

    /* کوچکتر کردن متن‌ها و دکمه‌ها در حالت هاور برای موبایل */
    .back-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .back-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .action-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap; /* نوشته در یک سطر باشد */
    }

        .action-button i {
            font-size: 0.9rem;
        }

    .category-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.8rem;
    }

        .category-icon i {
            font-size: 1.3rem;
        }
}

@media (max-width: 576px) {
    .neo-category-card {
        width: calc(50% - 0.75rem); /* همچنان 2 کارت در هر سطر */
        height: 220px;
    }

    .neo-categories-grid {
        gap: 0.75rem;
    }

    .category-details {
        padding: 0.75rem;
    }

    .category-name {
        font-size: 0.9rem;
    }

        .category-name::after {
            width: 25px;
        }

    .neo-category-card:hover .category-name::after {
        width: 35px;
    }

    .view-indicator {
        font-size: 0.7rem;
    }

        .view-indicator i {
            font-size: 0.8rem;
        }

    /* کوچکتر کردن متن‌ها و دکمه‌ها در حالت هاور برای موبایل کوچک */
    .back-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .back-description {
        font-size: 0.7rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }

    .action-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        white-space: nowrap; /* نوشته در یک سطر باشد */
    }

        .action-button i {
            font-size: 0.8rem;
        }

    .category-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.6rem;
        border-width: 1.5px;
    }

        .category-icon i {
            font-size: 1.1rem;
        }
}

@media (max-width: 400px) {
    .neo-category-card {
        width: calc(50% - 0.5rem); /* همچنان 2 کارت در هر سطر */
        height: 180px;
    }

    .neo-categories-grid {
        gap: 0.5rem;
    }

    .category-details {
        padding: 0.5rem;
    }

    .category-name {
        font-size: 0.8rem;
    }

        .category-name::after {
            width: 20px;
            height: 1px;
        }

    .neo-category-card:hover .category-name::after {
        width: 30px;
    }

    .view-indicator {
        font-size: 0.65rem;
    }

        .view-indicator i {
            font-size: 0.75rem;
        }

    /* کوچکتر کردن متن‌ها و دکمه‌ها در حالت هاور برای موبایل خیلی کوچک */
    .back-content {
        padding: 0.3rem;
    }

        .back-content::before {
            top: -15px;
            width: 60px;
            height: 2px;
        }

    .back-title {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .back-description {
        font-size: 0.6rem;
        margin-bottom: 0.4rem;
        line-height: 1.1;
    }

    .action-button {
        padding: 0.3rem 0.6rem;
        font-size: 0.6rem;
        white-space: nowrap; /* نوشته در یک سطر باشد */
    }

        .action-button i {
            font-size: 0.7rem;
        }

    .category-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 0.3rem;
        border-width: 1px;
    }

        .category-icon i {
            font-size: 0.9rem;
        }
}

/*جدا کندده*/

/* استایل جداکننده مدرن بین اسلاید و دسته‌بندی محصولات */
.modern-separator {
    margin-bottom: 27px;
    position: relative;
}

.separator-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.separator-line {
    height: 2px;
    flex-grow: 1;
    background: linear-gradient(to right, transparent, rgba(48, 135, 225, 0.3), transparent);
    position: relative;
    overflow: hidden;
}

    .separator-line:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(48, 135, 225, 0.8), transparent);
        transform: translateX(-100%);
        animation: line-shine 3s infinite;
    }

@keyframes line-shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.separator-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4ea6f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(48, 135, 225, 0.3);
    position: relative;
    z-index: 2;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(48, 135, 225, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(48, 135, 225, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(48, 135, 225, 0);
    }
}

.product-categories-showcase {
    background-color: var(--light-bg);
    padding: 10px 20px;
    position: relative;
}



/* ===== بخش پرفروش‌ترین محصولات ===== */
/**/

/* استایل‌های بخش محصولات پرفروش با رنگ‌بندی نارنجی و آبی */
.products-section {
    padding: 2rem 0;
    position: relative;
    background-color: #f8f9fa;
}

/* استایل جداکننده */
.modern-separator {
    margin-bottom: 2.5rem;
}

.separator-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.6), transparent);
    flex-grow: 1;
    max-width: 180px;
}

.separator-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    margin: 0 1.5rem;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: transform 0.3s ease;
}

    .separator-icon i {
        font-size: 1.5rem;
    }

    .separator-icon:hover {
        transform: rotate(45deg);
    }

/* هدر بخش */
.section-header {
    margin-bottom: 2.5rem;
}

.section-title-wrapper {
    position: relative;
    display: inline-block;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff7e1a, #ff9a44);
    color: white;
    font-size: 0.85rem;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(255, 126, 26, 0.2);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    position: relative;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    margin: 21px auto;
    border-radius: 2px;
    overflow: hidden;
}

.light-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    animation: light-move 3s infinite;
}

@keyframes light-move {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.section-subtitle {
    color: #7f8c8d;
    margin-top: 1rem;
    font-size: 1rem;
}
/* استایل‌های مربوط به بخش فیلتر - کاملاً اصلاح شده */
/* استایل‌های مربوط به بخش فیلتر - کاملاً اصلاح شده */
.filter-wrapper {
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
}

.filter-container {
    position: relative;
    background-color: white;
    border-radius: 10px;
    padding: 0.8rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    width: 100%;
}

.filter-bar-container {
    position: relative;
    width: 100%;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap; /* در دسکتاپ به چند خط برود */
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
}

/* طراحی جدید فیلترها - با عرض کمتر */
.filter-item {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #555;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem; /* فاصله بین ردیف‌ها */
}

    .filter-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, #3498db, #2980b9);
        transform: translateY(-3px);
        transition: transform 0.3s ease;
    }

    .filter-item i {
        margin-left: 0.5rem;
        font-size: 0.9rem;
        color: #3498db;
        transition: all 0.3s ease;
    }

    .filter-item span {
        position: relative;
        z-index: 1;
        transition: all 0.3s ease;
    }

    .filter-item:hover {
        background-color: #f0f7fc;
        border-color: #bde0fd;
        transform: translateY(-2px);
        box-shadow: 0 5px 10px rgba(52, 152, 219, 0.1);
    }

        .filter-item:hover::before {
            transform: translateY(0);
        }

    .filter-item.active {
        background: linear-gradient(135deg, #2980b9, #3498db);
        color: white;
        border-color: transparent;
        box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
    }

        .filter-item.active i {
            color: white;
        }

        .filter-item.active::before {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(0);
        }

/* استایل‌های ریسپانسیو برای فیلترها */
@media (max-width: 992px) {
    .filter-item {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }

        .filter-item i {
            font-size: 0.85rem;
        }
}

/* در موبایل اسکرول افقی فعال شود */
@media (max-width: 768px) {
    .filter-container {
        padding: 0.5rem;
        overflow: hidden;
    }

    .filter-bar-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        padding: 0.3rem 0;
    }

        .filter-bar-container::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

    .filter-bar {
        flex-wrap: nowrap; /* در موبایل در یک خط باشد */
        justify-content: flex-start;
        width: max-content; /* عرض به اندازه محتوا */
        gap: 0.5rem;
    }

    .filter-item {
        flex-shrink: 0; /* جلوگیری از فشرده شدن */
        margin-bottom: 0; /* حذف فاصله بین ردیف‌ها */
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }

        .filter-item i {
            font-size: 0.8rem;
            margin-left: 0.3rem;
        }

    /* نشانگر اسکرول افقی در موبایل */
    .filter-scroll-indicator {
        position: absolute;
        bottom: 2px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #f0f0f0;
        border-radius: 2px;
        display: block;
    }

    .filter-scroll-thumb {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 20%;
        background-color: #3498db;
        border-radius: 2px;
        opacity: 0.7;
    }
}

@media (max-width: 576px) {
    .filter-item {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
    }

        .filter-item i {
            font-size: 0.75rem;
            margin-left: 0.25rem;
        }
}


/* گرید محصولات - اصلاح شده برای 4 محصول در هر سطر */
.products-container {
    position: relative;
}

.products-grid {
    margin: 0 -0.75rem;
}

/* تنظیم تعداد محصولات در هر سطر */
.product-item {
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
}

/* در دسکتاپ 4 محصول در هر سطر */
@media (min-width: 992px) {
    .product-item {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* در تبلت 3 محصول در هر سطر */
@media (min-width: 768px) and (max-width: 991.98px) {
    .product-item {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* در موبایل 2 محصول در هر سطر */
@media (max-width: 767.98px) {
    .product-item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* کارت محصول - طراحی شیک‌تر با مرز واضح بین نوشته و عکس */
.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
        border-color: #d9d9d9;
    }

/* نشان‌های محصول */
.product-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-new, .badge-off, .badge-bestseller {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-new {
    background-color: #3498db;
    color: white;
}

.badge-off {
    background-color: #ff7e1a;
    color: white;
}

.badge-bestseller {
    background: linear-gradient(135deg, #ff7e1a, #ff9a44);
    color: white;
}

/* بخش تصویر محصول - مربعی با پس‌زمینه روشن */
.card-img-wrapper {
    position: relative;
    padding-top: 100%; /* نسبت 1:1 برای مربعی بودن */
    overflow: hidden;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eaeaea;
}

.card-img-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

/* اورلی تصویر */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .overlay-content {
    transform: translateY(0);
}

.view-product {
    display: inline-block;
    background-color: white;
    color: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .view-product:hover {
        background-color: #3498db;
        color: white;
        transform: scale(1.05);
    }

/* دکمه‌های اکشن */
.card-actions {
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.product-card:hover .card-actions {
    opacity: 1;
    transform: translateX(0);
}

.card-action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

    .card-action-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #3498db, #2980b9);
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 50%;
    }

    .card-action-btn i {
        color: #555;
        font-size: 1rem;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .card-action-btn:hover::before {
        opacity: 1;
    }

    .card-action-btn:hover i {
        color: white;
        transform: scale(1.1);
    }

/* بدنه کارت - طراحی جدید با رنگ‌بندی بهتر */
.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-grow: 1;
    background-color: white;
    position: relative;
}

    .card-body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    }

.product-category {
    font-size: 0.75rem;
    color: #ff7e1a;
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin-bottom: 0.2rem;
}

    .product-category::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 30px;
        height: 1px;
        background-color: rgba(255, 126, 26, 0.3);
    }

.product-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.5;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.product-title-link:hover .card-title {
    color: #3498db;
}

/* امتیازدهی */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.stars {
    display: flex;
    gap: 2px;
}

    .stars i {
        color: #ff9a44;
        font-size: 0.8rem;
    }

.rating-count {
    font-size: 0.75rem;
    color: #7f8c8d;
}

/* قیمت محصول */
.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #f0f0f0;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #3498db;
}

    .product-price small {
        font-size: 0.75rem;
        font-weight: 400;
    }

.product-price-off {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-decoration: line-through;
}

/* دکمه افزودن به سبد - طراحی مدرن و شیک */
.product-cart-wrapper {
    margin-top: 0.8rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* دکمه مشاهده همه محصولات */
.view-all-container {
    text-align: center;
    margin-top: 2.5rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
}

    .view-all-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
        z-index: 0;
    }

    .view-all-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    }

        .view-all-btn:hover::before {
            left: 100%;
        }

    .view-all-btn span {
        position: relative;
        z-index: 1;
    }

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.view-all-btn:hover .btn-icon {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

/* استایل‌های ریسپانسیو */
@media (max-width: 1200px) {
    .filter-bar {
        justify-content: flex-start;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }

    .filter-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .card-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }

    .section-badge {
        font-size: 0.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* نمایش فیلترها در موبایل */
    .filter-container {
        padding: 0.3rem;
    }

    .filter-bar-container {
        padding: 0.3rem;
    }

    .filter-bar {
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .filter-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
    }

        .filter-item i {
            font-size: 0.9rem;
            margin-left: 0.4rem;
        }

    /* بهبود نمایش کارت در موبایل */
    .card-body {
        padding: 0.8rem;
        gap: 0.4rem;
    }

    .card-title {
        font-size: 0.85rem;
        height: 2.6em;
    }

    .view-all-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.4rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.8rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    /* بهبود نمایش کارت در موبایل کوچک */
    .card-body {
        padding: 0.7rem;
        gap: 0.3rem;
    }

    .card-title {
        font-size: 0.8rem;
        height: 2.4em;
    }

    .product-category {
        font-size: 0.7rem;
    }

    .product-price-wrapper {
        padding-top: 0.3rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .product-price-off {
        font-size: 0.75rem;
    }

    .product-rating {
        gap: 0.3rem;
    }

    .stars i {
        font-size: 0.75rem;
    }

    .rating-count {
        font-size: 0.7rem;
    }

    .add-to-cart-btn {
        padding: 0.5rem 0;
        font-size: 0.75rem;
    }

        .add-to-cart-btn i {
            font-size: 0.85rem;
        }

    .view-all-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 400px) {
    /* بهبود بیشتر نمایش کارت در موبایل خیلی کوچک */
    .filter-item {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }

        .filter-item i {
            font-size: 0.8rem;
            margin-left: 0.3rem;
        }

    .card-body {
        padding: 0.6rem;
        gap: 0.2rem;
    }

    .card-title {
        font-size: 0.75rem;
        height: 2.3em;
    }

    .product-category {
        font-size: 0.65rem;
    }

    .product-price {
        font-size: 0.85rem;
    }

    .product-price-off {
        font-size: 0.7rem;
    }

    .add-to-cart-btn {
        padding: 0.4rem 0;
        font-size: 0.7rem;
    }

        .add-to-cart-btn i {
            font-size: 0.8rem;
        }
}

/**/

/*===بلاگ===*/

/* استایل بخش وبلاگ */
.blog-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

/* استایل جداکننده */
.modern-separator {
    margin: 30px 0;
}

.separator-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.03) 100%);
}

.separator-icon {
    margin: 0 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff6b00, #ff9d00);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
    color: white;
    font-size: 18px;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.separator-icon:hover {
    transform: rotate(15deg);
}

/* استایل هدر بخش */
.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b00, #ff9d00);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.15);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.title-underline {
    position: relative;
    height: 2px;
    width: 80px;
    background-color: #ff6b00;
    margin: 0 auto;
    overflow: hidden;
}

.light-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: lightMove 3s infinite;
}

@keyframes lightMove {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* استایل کارت‌های وبلاگ */
.blog-cards {
    margin-top: 30px;
}

.blog-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff6b00, #ff9d00);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.blog-card-date .day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.blog-card-date .month {
    display: block;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-content {
    padding: 25px;
    position: relative;
}

.blog-card-category {
    margin-bottom: 10px;
}

.blog-card-category span {
    background-color: rgba(255, 107, 0, 0.1);
    color: #ff6b00;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #333;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: #ff6b00;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    height: 67px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
}

.blog-card-meta i {
    margin-left: 5px;
}

.blog-card-read-more {
    color: #ff6b00;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-card-read-more i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-read-more {
    color: #ff9d00;
}

.blog-card:hover .blog-card-read-more i {
    transform: translateX(-5px);
}

/* استایل دکمه مشاهده همه */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    padding: 12px 30px;
    border-radius:10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-view-all:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff9d00, #ff6b00);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.btn-view-all:hover:before {
    opacity: 1;
}

.btn-view-all span {
    position: relative;
    z-index: 1;
    margin-left: 10px;
}

.btn-view-all i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(-5px);
}

/* استایل واکنش‌گرا */
@media (max-width: 992px) {
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .blog-card-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .section-badge {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 16px;
    }
}

/**/

/* استایل‌های فونت متن */
.font-text {
    font-family: var(--font-special);
}

/* استایل‌های فوتر مدرن */
.modern-footer {
    padding: 1.5rem 0;
    color: var(--text-dark);
}

.footer-container {
    background-color: #fffcfc;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 40px;
}

.footer-logo {
    max-width: 271px;
    height: auto;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
    margin-bottom: 0.5rem;
}

    .footer-logo:hover {
        filter: grayscale(0%);
    }

.footer-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.footer-subtitle {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.footer-description {
    font-size: 0.85rem;
    text-align: justify;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0.5rem;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #e65e00;
        border-color: #e65e00;
        transform: translateY(-2px);
    }

.btn-outline-secondary {
    color: var(--text-dark);
    border-color: var(--border-light);
    border-radius: 0.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .btn-outline-secondary:hover {
        background-color: var(--secondary-color);
        color: white;
        border-color: var(--secondary-color);
    }

/* استایل‌های باکس آمار */
.stat-box {
    background-color: white;
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    margin-bottom: 1rem;
}

    .stat-box:hover {
        transform: translateY(-5px);
    }

.stat-title {
    font-size: 2rem;
    font-weight: bold;
    font-family: var(--font-main);
    margin-bottom: 0.3rem;
}

.stat-subtitle {
    color: var(--arrow-gray);
    font-family: var(--font-main);
}

/* استایل‌های لینک‌های فوتر */
.footer-links h5 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.15rem 0;
    font-size: 1rem;
    font-family: var(--font-main);
}

    .footer-links a:hover {
        color: var(--primary-color);
        padding-right: 0.4rem;
    }

/* استایل‌های آیکون‌های اجتماعی */
.social-icons img {
    width: 35px;
    height: 35px;
    margin: 0.3rem;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .social-icons img:hover {
        transform: scale(1.1);
    }

.main-pages-links .btn {
    margin-bottom: 0;
}

.title-border {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.phone-number-footer {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 5px 10px;
    display: inline-block;
    font-size: 1rem;
    white-space: nowrap;
}

.address-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-align: justify;
    white-space: nowrap;
}

.copyright-bar-container {
    margin-top: 5px;
}

.icon-box-styled {
    background-color: var(--icon-bg-color);
    border: 1px solid var(--icon-border-color);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

    .icon-box-styled i {
        color: var(--primary-color);
        font-size: 1.2rem;
    }

.red-text {
    color: var(--primary-color);
}

.copyright-bar {
    background: var(--primary-color);
    border-radius: 10px;
    padding: 6px 30px;
    color: var(--white);
    font-size: 0.9rem;
    width: 100%;
}

.code-icon-btn {
    background-color: var(--white);
    border: none;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-orange);
    font-size: 1.2rem;
    padding: 0;
}

.bi-code-slash {
    font-size: 25px;
}

/* استایل‌های کارت محصول */
.product-card-box {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 15px;
    background-color: var(--light-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .product-card-box img {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

.product-title-box {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.product-wrapper {
    margin-bottom: 15px;
}

.header-offset {
    margin-top: 3px;
}

.product-title {
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 5px;
    flex-grow: 1;
    height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.product-card {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--light-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .product-card img {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
        position: relative;
    }

.product-price {
    font-size: 1rem;
    color: #28a745;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* استایل‌های اسلایدر محدوده */
.range-slider {
    width: 100%;
}

input[type=range] {
    width: 100%;
    height: 3px;
    background: #ddd;
    outline: none;
    border-radius: 5px;
    margin-bottom: 15px;
}

    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: #a72828;
        border-radius: 50%;
        cursor: pointer;
    }

#sidebar {
    margin-bottom: 100px;
}

/* استایل‌های ناوبری بالا */
.top-nav {
    margin-bottom: 20px;
    display: flex;
    justify-content: end;
    align-items: end;
}

/* استایل‌های عنوان فیلتر */
.filter-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0rem;
    color: var(--text-dark);
}

.filter-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

    .filter-section:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }

.form-check-label {
    font-size: 0.9rem;
    color: #555;
}

.filter-wrapper {
    position: relative;
    background-color: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: 25px;
    padding: 15px;
}

.price-filter-button {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    margin: 20px;
    background-color: var(--gradient-top);
    color: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

    .price-filter-button:hover {
        background-color: #aeaeae;
        color: black;
        transform: translateY(-2px);
    }

/* استایل‌های فیلتر محصولات */
.filter-products {
    background-color: var(--light-bg);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.filter-products-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-products-line {
    width: 4px;
    height: 24px;
    background-color: red;
    display: inline-block;
}

.horizontal-line {
    width: 100%;
    height: 1px;
    background-color: var(--border-light);
    margin: 1rem 0;
}

.filter-products-title-wrapper-horiline {
    width: 10%;
    height: 1px;
    margin-top: 0.5rem 0;
    border: 4px solid var(--gradient-top);
}

hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 1rem 0;
}

/* استایل‌های روکش محصول */
.product-overlay {
    position: absolute;
    top: auto;
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: auto;
    background-color: white;
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: 5px;
    display: none;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    display: flex;
}

.product-overlay a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    padding: 0 5px;
    transition: color 0.2s ease;
}

    .product-overlay a:hover {
        color: var(--orange-primary);
    }

/* استایل‌های ظرف تصویر */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* استایل‌های مسیر */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* استایل‌های گالری تصاویر محصول */
.product-image-gallery {
    position: relative;
}

    .product-image-gallery .main-image {
        border: 1px solid var(--border-light);
        border-radius: 28px;
        padding: 10px;
        background-color: var(--white);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 300px;
    }

        .product-image-gallery .main-image img {
            width: 100%;
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
        }

    .product-image-gallery .thumbnail-images {
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

.thumbnail-image {
    cursor: pointer;
    transition: all 0.3s;
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid var(--border-light);
    padding: 5px;
    margin: 0 5px;
}

    .thumbnail-image:hover {
        border-color: #007bff;
    }

    .thumbnail-image.active {
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

/* استایل‌های سربرگ محصول */
.product-header {
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.product-brand {
    color: #6c757d;
    font-size: 0.9rem;
}

/* استایل‌های رتبه‌بندی محصول */
.product-rating .fa-star,
.product-rating .fa-star-half-alt {
    color: #ffc107;
    font-size: 0.8rem;
}

.product-rating .review-count {
    font-size: 0.8rem;
    color: #6c757d;
}

/* استایل‌های مشخصات محصول */
.product-specs {
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

    .product-specs ul {
        list-style: none;
        padding: 0;
        margin-bottom: 0;
    }

    .product-specs li {
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }

.product-warranty {
    color: #6c757d;
    font-size: 0.7rem;
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    background-color: var(--light-bg);
    margin-top: 55px;
}

.product-buy-box {
    background-color: var(--white);
    border: 1px solid #dee2e6;
}

.product-price .h3 {
    color: var(--gradient-top);
}

/* استایل‌های انتخابگر مقدار */
.quantity-selector {
    display: flex;
    align-items: right;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

    .quantity-selector .quantity-btn {
        border: none;
        background-color: transparent;
        color: #6c757d;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

        .quantity-selector .quantity-btn:hover {
            background-color: #f0f0f0;
        }

    .quantity-selector .quantity-input {
        text-align: center;
        border: none;
        width: 40px;
    }

/* استایل‌های محصولات پیشنهادی */
.suggested-products .suggested-product {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .suggested-products .suggested-product:hover {
        transform: translateY(-3px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

.suggested-products .suggested-title {
    font-size: 0.9rem;
    font-weight: bold;
}

.suggested-products .suggested-price {
    color: #6c757d;
    font-size: 0.8rem;
}

/* استایل‌های بخش خرید عمده */
.bulk-purchase-section .phone-number {
    color: #212529;
    font-weight: bold;
    text-decoration: none;
    margin-right: 0.5rem;
}

.price-bg {
    background-image: linear-gradient(90deg, #FF3D001A 0%, #FF3D0000 100%);
}

.vertical-line {
    width: 4px;
    background-color: #dc3545;
    margin-left: -17px;
    z-index: 20;
}

.all-btn {
    background-color: var(--gradient-top);
    padding: 5px 20px;
    color: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    margin: 10px 0;
}

    .all-btn:hover {
        background-color: #e1e0e0;
        color: #212529;
        transform: translateY(-2px);
    }

.product-code {
    font-size: 0.75rem;
}

.bulk-purchase-top {
    margin-bottom: 0.5rem;
}

.bulk-purchase-text-help {
    font-size: 0.75rem;
}

.bulk-purchase-btn-help {
    background-color: #e1e0e0;
}

    .bulk-purchase-btn-help:hover {
        background-color: #e1e0e0;
    }

/* استایل‌های جدول مشخصات */
.specs-table {
    border-collapse: separate;
    border-spacing: 0 5px;
    width: 100%;
    margin-bottom: 20px;
}

    .specs-table td {
        padding: 8px;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        text-align: center;
    }

        .specs-table td:first-child {
            background-color: var(--light-bg);
            font-weight: bold;
            width: 40%;
        }

        .specs-table td:nth-child(2) {
            width: 60%;
        }

/* استایل‌های بخش رتبه‌بندی */
.rating-section {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 15px;
}

.progress-bar {
    background-color: #ffc107;
    height: 8px;
}

.stars, .stars-gray {
    color: #ffc107;
    font-size: 0.9rem;
}

.stars-gray {
    color: #6c757d;
}

.btn-orange {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: white;
    font-size: 0.9rem;
    padding: 6px 12px;
    transition: all 0.3s ease;
}

    .btn-orange:hover {
        color: white;
        background-color: var(--orange-darker);
        transform: translateY(-2px);
    }

.review-count {
    font-size: 1.8rem;
    font-weight: bold;
}

.square {
    width: 12px;
    height: 3px;
    background-color: var(--orange-primary);
    display: inline-block;
    margin-left: 8px;
}

/* استایل‌های کارت نظرات */
.review-card {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .review-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: bold;
}

.review-date {
    color: #777;
    font-size: 0.9rem;
}

.review-text {
    font-size: 0.85rem;
}

.like-dislike {
    color: #777;
    font-size: 0.8rem;
    display: flex;
    justify-content: end;
}

    .like-dislike i {
        margin: 0 3px;
        cursor: pointer;
        transition: color 0.2s ease;
    }

        .like-dislike i:hover {
            color: var(--orange-primary);
        }

/* استایل‌های dropdown */
.dropdown-toggle::after {
    content: none;
}

.dropdown-menu {
    font-size: 0.85rem;
}

.review-title {
    margin-bottom: 30px;
}

/* استایل‌های بخش محصولات مرتبط */
.custom-related-products-section {
    padding: 20px 0;
}

.custom-product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 8px;
    margin: 8px;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: auto;
}

    .custom-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.12);
    }

.custom-product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--light-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    margin-bottom: 6px;
}

    .custom-product-image-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

.custom-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.custom-product-card:hover .custom-product-overlay {
    opacity: 1;
}

.custom-product-overlay a {
    color: white;
    margin: 0 4px;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .custom-product-overlay a:hover {
        color: #ffc107;
    }

.custom-product-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-dark);
}

.custom-product-price {
    font-size: 0.75rem;
    color: #444;
    margin-bottom: 0;
    display: flex;
    justify-content: end;
}

    .custom-product-price span {
        font-size: 0.65rem;
        color: #777;
        margin-right: 2px;
    }

.custom-product-verify {
    color: #28a745;
    margin-left: 5px;
}

.custom-related-title {
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.custom-orange-line {
    width: 20px;
    height: 3px;
    background-color: #ff9800;
    margin-right: 0.5rem;
}

/* استایل‌های tooltip */
[data-tooltip] {
    position: relative;
}

.tooltiptext {
    visibility: hidden;
    width: 100px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 4px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

[data-tooltip]:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* استایل‌های سبد خرید */
.shopping-cart {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .cart-item:last-child {
        border-bottom: none;
    }

    .cart-item.updating {
        opacity: 0.7;
    }

    .cart-item.removing {
        transform: translateX(-100%);
        opacity: 0;
    }

.cart-item-image {
    width: 20%;
    height: auto;
    margin-left: 10px;
    border-radius: 4px;
    object-fit: contain;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 0.9rem;
    margin: 0;
    font-weight: bold;
}

.cart-item-code {
    font-size: 0.7rem;
    color: #777;
    margin: 5px 0;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #d35400;
    font-weight: bold;
    margin-top: 8px;
    text-align: left;
}

.quantity-selector-cart {
    display: flex;
    align-items: center;
    margin-top: 5px;
    width: 100%;
}

.quantity-btn-cart {
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #495057;
    padding: 0px 8px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 0;
    transition: background-color 0.2s ease;
}

    .quantity-btn-cart:hover {
        background-color: #f0f0f0;
    }

.quantity-input-cart {
    width: 40px;
    text-align: center;
    border: 1px solid #ced4da;
    padding: 2px;
    font-size: 0.9rem;
    border-radius: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-top: 10px;
    font-weight: bold;
    border-top: 2px solid #ddd;
}

.cart-total-price {
    color: #d35400;
    font-size: 1.1rem;
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.btn-view-cart,
.btn-checkout {
    padding: 10px;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-view-cart {
    background-color: #e76412;
    margin-bottom: 10px;
}

    .btn-view-cart:hover {
        background-color: #d35400;
        transform: translateY(-2px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

.btn-checkout {
    background-color: #f3793b;
}

    .btn-checkout:hover {
        background-color: #e76412;
        transform: translateY(-2px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

.btn-close-custom {
    position: absolute;
    left: 0px;
    top: 10px;
    font-size: 0.8rem;
    padding: 0;
    width: 1.1rem;
    height: 1.1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .btn-close-custom:hover {
        transform: scale(1.2);
    }

/* استایل‌های احراز هویت */
.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-image-wrapper {
    margin-bottom: 1rem;
    text-align: center;
    width: 70%;
}

.auth-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.auth-form-wrapper {
    width: 100%;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #495057;
    font-weight: bold;
    transition: all 0.2s ease;
}

    .nav-tabs .nav-link.active,
    .nav-tabs .nav-item.show .nav-link {
        color: #495057;
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
        font-weight: bold;
    }

.login-form,
.register-form {
    padding: 1rem;
}

.form-label {
    font-weight: bold;
}

.forgot-password {
    color: blue;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .forgot-password:hover {
        text-decoration: underline;
        color: darkblue;
    }

.offcanvas-end {
    width: 450px !important;
}

.offcanvas-header {
    border-bottom: 1px solid #f85a14 !important;
}

/* استایل‌های آیتم سبد خرید */
.shopping-cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .shopping-cart-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

.shopping-cart-item-image {
    max-width: 60px;
    height: auto;
    border: 1px solid #eee;
    padding: 0.25rem;
}

.shopping-cart-item-details {
    flex-grow: 1;
    margin: 0 1rem;
}

.shopping-cart-item-name {
    font-weight: bold;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.shopping-cart-item-price {
    color: #28a745;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.quantity-control-wrapper {
    display: flex;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 0.3rem;
    overflow: hidden;
    width: fit-content;
    height: fit-content;
}

.quantity-control-button {
    background-color: #f8f9fa;
    border: none;
    padding: 0.2rem 0.4rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: #343a40;
    transition: background-color 0.2s ease;
}

    .quantity-control-button:hover {
        background-color: #e9ecef;
    }

.quantity-control-input {
    width: 25px;
    text-align: center;
    border: none;
    padding: 0.2rem 0;
    font-size: 0.7rem;
}

.remove-product {
    color: #dc3545;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

    .remove-product:hover {
        transform: scale(1.2);
    }

/* استایل‌های خلاصه سبد خرید */
.cart-summary-section {
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}

.cart-summary-title {
    font-weight: bold;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

    .cart-summary-item span:last-child {
        font-weight: bold;
        color: #28a745;
    }

.cart-summary-shipping-info {
    margin-bottom: 1rem;
}

    .cart-summary-shipping-info small {
        color: #6c757d;
    }

.cart-summary-shipping-link {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .cart-summary-shipping-link:hover {
        text-decoration: underline;
        color: #0a58ca;
    }

.separator-line {
    border-top: 1px solid #dee2e6;
    margin: 1.5rem 0;
}

.btn-checkout-custom {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 10px 20px;
}

    .btn-checkout-custom:hover {
        background-color: #ffca2c;
        border-color: #ffca2c;
        transform: translateY(-2px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

.btn-update-cart {
    background-color: #6c757d;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
}

    .btn-update-cart:hover {
        background-color: #5a6268;
        transform: translateY(-2px);
    }

.header-row {
    display: none;
}

/* استایل‌های offcanvas سفارشی */
.custom-offcanvas {
    width: 300px;
    background-color: #fff;
    direction: rtl;
}

.offcanvas-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    color: #333;
}

/* ===استایل‌های تب‌های منو ===*/
/**/
/* استایل منوی آفکنوس */
.custom-offcanvas {
    width: 300px;
    border: none;
    background-color: #f8fafc;
}

/* هدر منو */
.offcanvas-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
    color: white;
}

.offcanvas-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.offcanvas-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.offcanvas-brand-info {
    display: flex;
    flex-direction: column;
}

.offcanvas-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.offcanvas-subtitle {
    margin: 3px 0 0;
    font-size: 11px;
    opacity: 0.9;
}

.btn-close-custom {
    background: transparent;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

    .btn-close-custom:hover {
        transform: rotate(90deg);
    }

/* بدنه منو */
.offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: calc(100% - 81px); /* ارتفاع کل منهای هدر */
}

/* تب‌های منو */
.menu-tabs {
    display: flex;
    padding: 15px;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: white;
}

.menu-tab {
    flex: 1;
    border: none;
    background-color: #f0f4f8;
    color: #666;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .menu-tab svg {
        color: #777;
        transition: color 0.3s;
    }

    .menu-tab.active {
        background: linear-gradient(135deg, #1e5799 0%, #2989d8 100%);
        color: white;
        box-shadow: 0 3px 10px rgba(48, 135, 225, 0.25);
    }

        .menu-tab.active svg {
            color: white;
        }

    .menu-tab:hover:not(.active) {
        background-color: #e8eef5;
    }

/* جستجو در منو */
.menu-search {
    margin: 15px;
    position: relative;
}

    .menu-search input {
        width: 100%;
        height: 42px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 0 36px 0 15px;
        font-size: 13px;
        background-color: white;
        box-shadow: 0 2px 6px rgba(0,0,0,0.03);
        transition: all 0.3s;
    }

        .menu-search input:focus {
            border-color: #3087e1;
            box-shadow: 0 0 0 3px rgba(48, 135, 225, 0.1);
            outline: none;
        }

    .menu-search .search-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

/* لیست آیتم‌های منو */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.menu-item {
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 13px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
    position: relative;
    overflow: hidden;
}

    .menu-link:hover {
        background-color: rgba(48, 135, 225, 0.05);
    }

/* آیکون مرکزی در باکس */
.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3087e1;
    margin-left: 12px;
    flex-shrink: 0;
    transition: all 0.3s;
    position: relative;
}

    .menu-icon svg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s;
    }

.menu-link:hover .menu-icon {
    background-color: #3087e1;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(48, 135, 225, 0.2);
}

.menu-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.menu-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.menu-link:hover .menu-arrow {
    transform: translateX(-3px);
    color: #3087e1;
}

/* افکت ریپل برای آیتم‌های منو */
.ripple-effect {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* بخش کاربر */
.menu-user-section {
    margin-top: auto;
    padding: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: white;
}

.menu-user-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background-color: #f0f4f8;
    text-decoration: none;
    transition: all 0.3s;
}

    .menu-user-link:hover {
        background-color: #3087e1;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(48, 135, 225, 0.25);
    }

.menu-user-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3087e1, #4ea6f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    position: relative;
}

    .menu-user-icon svg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.menu-user-link:hover .menu-user-icon {
    background: white;
    color: #3087e1;
}

.menu-user-info {
    display: flex;
    flex-direction: column;
}

.menu-user-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.menu-user-subtitle {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.menu-user-link
/**/
/* استایل‌های اعلان سبد خرید */
.cart-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 350px;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

    .cart-notification.show {
        transform: translateX(0);
        opacity: 1;
    }

    .cart-notification.success {
        border-right: 4px solid #28a745;
    }

    .cart-notification.error {
        border-right: 4px solid #dc3545;
    }

.notification-content {
    display: flex;
    align-items: center;
}

    .notification-content i {
        margin-left: 10px;
        font-size: 20px;
    }

        .notification-content i.bi-check-circle {
            color: #28a745;
        }

        .notification-content i.bi-exclamation-circle {
            color: #dc3545;
        }

.close-notification {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #777;
    margin-right: 10px;
    transition: transform 0.2s ease;
}

    .close-notification:hover {
        transform: scale(1.2);
    }

/* استایل‌های ظرف سبد خرید */
.cart-container {
    padding: 30px 0;
}

.cart-title {
    margin-bottom: 30px;
    color: #003b7e;
    font-weight: 700;
    position: relative;
}

    .cart-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 80px;
        height: 3px;
        background-color: #003b7e;
    }

/* استایل‌های سبد خرید خالی */
.empty-cart {
    text-align: center;
    padding: 50px 0;
}

.empty-cart-icon {
    font-size: 80px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-cart-message {
    font-size: 18px;
    color: #777;
    margin-bottom: 30px;
}

.shop-now-btn {
    background-color: #003b7e;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .shop-now-btn:hover {
        background-color: #002a5a;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 59, 126, 0.2);
    }

@keyframes cartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.btn-custom-cart.cart-updated {
    animation: cartPulse 0.5s ease;
}

/* استایل‌های احراز هویت */
.auth-container {
    max-width: 100%;
    margin: 0 auto;
}

.login-icon,
.otp-icon {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.form-floating {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 5;
}
.form-floating > label {
    right: 1.5rem;
}
.form-floating input {
    padding-left: 40px;
}

.otp-input-container {
    display: flex;
    justify-content: space-between;
    direction: ltr;
    margin: 30px 0;
}

.otp-input-canvas {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #ced4da;
    border-radius: 8px;
    margin: 0 3px;
    transition: all 0.2s ease;
}

    .otp-input-canvas:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        outline: none;
        transform: translateY(-2px);
    }

.otp-info {
    margin-bottom: 10px;
    color: #6c757d;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#offcanvasExample2 .offcanvas-body {
    display: flex;
    flex-direction: column;
}

#offcanvasExample2 .auth-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#mobile-form-canvas,
#otp-form-canvas {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#sendOtpBtnCanvas,
#verifyOtpBtnCanvas {
    margin-top: auto;
    height: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

    #sendOtpBtnCanvas:hover:not(:disabled),
    #verifyOtpBtnCanvas:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

#resendOtpBtnCanvas,
#changeNumberBtnCanvas {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s ease;
}

    #resendOtpBtnCanvas:hover,
    #changeNumberBtnCanvas:hover {
        color: #0a58ca;
        text-decoration: underline;
    }

    #resendOtpBtnCanvas:disabled {
        color: #6c757d;
        cursor: not-allowed;
    }

/* استایل‌های منوی موبایل */
.mobile-menu-wrapper {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
}

.menu-icon {
    font-size: 1.2rem;
    color: black;
}

.menu-text {
    font-size: 0.7rem;
    color: black;
    font-family: "Vazirmatn", sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* استایل‌های صفحه پست */
.main-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

    .main-container:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

.recent-post-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-left: 15px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    max-height: 200px;
}

.post-header {
    margin-bottom: 30px;
    text-align: right;
}

.post-title {
    font-size: 2.7rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

    .post-meta span {
        margin-left: 20px;
        display: flex;
        align-items: center;
    }

        .post-meta span i {
            margin-left: 5px;
        }

    .post-meta a {
        color: #007bff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .post-meta a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

.post-image-container {
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.post-image {
    width: 100%;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
    max-width: auto;
    max-height: 600px;
    object-fit: cover;
}

    .post-image:hover {
        transform: scale(1.05);
    }

.post-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 20px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.post-image-caption {
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.post-content {
    font-size: 1.15rem;
    color: #495057;
    text-align: justify;
    margin-bottom: 30px;
}

    .post-content h2 {
        font-size: 2rem;
        color: #343a40;
        margin-top: 40px;
        margin-bottom: 20px;
        border-bottom: 2px solid #dee2e6;
        padding-bottom: 10px;
    }

    .post-content h3 {
        font-size: 1.6rem;
        color: #495057;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .post-content ul {
        padding-right: 30px;
        list-style-type: square;
    }

    .post-content li {
        margin-bottom: 10px;
    }

    .post-content blockquote {
        border-right: 5px solid #007bff;
        padding: 20px;
        margin: 30px 0;
        background-color: #f0f8ff;
        font-style: italic;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

/* استایل‌های بخش نظرات */
.comments-section {
    margin-top: 50px;
}

.comments-title {
    font-size: 1.7rem;
    color: #343a40;
    margin-bottom: 25px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 12px;
}

.comments-container {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.comment {
    display: flex;
    margin-bottom: 25px;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 48%;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .comment:hover {
        transform: translateY(-3px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 20px;
    object-fit: cover;
    max-width: 200px;
    max-height: 200px;
}

.comment-content {
    flex-grow: 1;
}

.comment-author {
    font-weight: 600;
    color: #343a40;
}

.comment-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.comment-text {
    font-size: 1.1rem;
    color: #495057;
}

.comment-form-container {
    border-top: 2px solid #dee2e6;
    padding-top: 40px;
}

.comment-form .form-label {
    font-weight: 600;
    color: #343a40;
}

.comment-form .form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .comment-form .form-control:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.comment-form .btn-submit {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .comment-form .btn-submit:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

/* استایل‌های سایدبار */
.sidebar {
    padding: 40px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    font-size: 1.5rem;
    color: #343a40;
    margin-bottom: 25px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 12px;
}

.recent-posts-widget ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.recent-posts-widget li {
    width: 48%;
    margin-bottom: 20px;
}

.recent-post-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    transition: transform 0.2s ease;
}

    .recent-post-item:hover {
        transform: translateY(-3px);
    }

    .recent-post-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.recent-post-title {
    font-size: 0.7rem;
    color: #343a40;
}

.recent-post-title-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

    .recent-post-title-link:hover {
        color: #007bff;
        text-decoration: underline;
    }

.categories ul {
    list-style: none;
    padding: 0;
}

.categories li {
    margin-bottom: 15px;
}

.categories a {
    color: #343a40;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .categories a:hover {
        color: #007bff;
        text-decoration: underline;
        padding-right: 5px;
    }

.categories i {
    margin-left: 10px;
    color: #6c757d;
    transition: margin-left 0.2s ease;
}

.categories a:hover i {
    margin-left: 15px;
    color: #007bff;
}

/* استایل‌های صفحه تماس */
.contact-container {
    margin-top: 50px;
    margin-bottom: 50px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-info-col,
.contact-form-col {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.contact-info-card,
.contact-form-card,
.contact-map-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-out forwards;
}

.contact-info-card {
    margin-bottom: -49px;
    animation-delay: 0.2s;
}

.contact-form-card {
    margin-bottom: -49px;
    animation-delay: 0.4s;
}

    .contact-info-card:hover,
    .contact-form-card:hover,
    .contact-map-card:hover {
        transform: translateY(-5px);
    }

.contact-info-title,
.contact-form-title {
    color: #007bff;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

    .contact-info-item i {
        color: #007bff;
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }

.contact-map-card {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    animation-delay: 0.3s;
}

.contact-map {
    width: 100%;
    height: 300px;
    border: none;
}

.contact-form-label {
    color: #555;
    font-weight: 600;
}

.contact-form-input,
.contact-form-textarea {
    border-color: #b0e2ff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .contact-form-input:focus,
    .contact-form-textarea:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.contact-form-textarea {
    resize: vertical;
}

.contact-form-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .contact-form-button:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

/* استایل‌های صفحه درباره ما */
.about-container {
    margin-top: 10px;
    margin-bottom: 50px;
    padding: 20px;
}

.about-intro {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: 0.2s;
}

.about-intro-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 30px;
}

    .about-intro-card:hover {
        transform: translateY(-5px);
    }

.about-intro-title {
    color: #007bff;
    margin-bottom: 20px;
}

.about-intro-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-values {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: 0.4s;
}

.about-values-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.about-values-col {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
}

.about-values-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    height: auto;
}

    .about-values-card:hover {
        transform: translateY(-5px);
    }

.about-values-title {
    color: #007bff;
    margin-bottom: 20px;
    text-align: center;
}

.about-values-list {
    list-style: none;
    padding: 0;
}

.about-values-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

    .about-values-item i {
        color: #007bff;
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }

.about-values-text {
    font-size: 1.1rem;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل‌های محصول */
.tst1 {
    height: auto;
    max-height: 70px;
}

.product-description {
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

    .product-description.expanded {
        max-height: 2000px;
    }

/* استایل‌های ستاره‌های رتبه‌بندی */
.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

    .rating-stars input {
        display: none;
    }

    .rating-stars label {
        cursor: pointer;
        width: 30px;
        height: 30px;
        margin-right: 5px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .rating-stars label:before {
            content: '\2605';
            font-size: 30px;
            color: #ddd;
            transition: color 0.2s ease;
        }

        .rating-stars input:checked ~ label:before,
        .rating-stars label:hover:before,
        .rating-stars label:hover ~ label:before {
            color: #ffc107;
        }

/* استایل‌های واکنش‌گرا */
@media (max-width: 768px) {
    .banner {
        padding: 0.5rem;
    }

        .banner .countdown {
            display: none;
        }

        .banner .row {
            display: flex;
            flex-direction: row;
            align-items: center;
        }

        .banner .b-custom-text,
        .banner .custom-combined-button {
            font-size: 0.9rem;
        }

    .banner-text {
        font-size: 1rem;
        margin: 0;
    }

    .banner .col-md-4.text-center {
        order: 2;
        text-align: left;
        margin-right: auto;
        flex-grow: 0;
        flex-shrink: 1;
        flex-basis: auto;
    }

    .banner .col-md-4.text-md-end {
        order: 1;
        text-align: right;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: auto;
    }

    .custom-combined-button {
        margin-top: 0;
    }

    .custom-navbar-top {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem;
    }

    .navbar-brand {
        margin-left: auto;
        margin-right: 0;
        order: 0;
    }

    .navbar-toggler-icon {
        order: 1;
        margin-left: 0.5rem;
    }

    .btn-custom-cart {
        order: 2;
        margin-left: auto;
        margin-left: 0;
    }

        .btn-custom-cart span:not(.cart-badge) {
            display: none;
        }

    .cart-badge {
        margin-right: 0.2rem;
    }

    .contact-info,
    .btn-custom-login {
        display: none;
    }

    .search-form {
        order: 4;
        max-width: 100%;
        margin: 0.5rem 0;
    }

    .d-flex.search-form {
        margin-right: 0;
    }

    .custom-menu {
        margin: 0;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .navbar-nav {
        flex-direction: column;
    }

    .nav-item {
        width: 100%;
        text-align: right;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        display: block;
    }

    .dropdown-menu {
        box-shadow: none;
    }

    .filter-item {
        margin: 0.25rem;
        padding: 0.25rem 0.5rem;
    }

    .products-board {
        padding: 0.5rem;
    }

    .product-image-gallery .thumbnail-images {
        justify-content: flex-start;
    }

    .product-buy-box {
        margin-top: 1rem;
    }

    .banner {
        padding: 0.5rem;
        flex-direction: column;
        align-items: stretch;
    }

    .custom-combined-button {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
        margin-top: 0;
    }

    .banner-text {
        text-align: left;
        margin: 0.5rem 0;
    }

    .b-custom-text,
    .custom-combined-button {
        width: 100%;
        text-align: center;
    }

    .countdown {
        display: none;
    }



    .product-category-card,
    .product-card {
        width: 100%;
    }

    .banner {
        padding: 0.5rem;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .banner-text-wrapper {
        text-align: left;
        order: 2;
    }

    .banner-text {
        margin: 0;
        font-size: 1rem;
    }

    .button-wrapper {
        order: 1;
    }

    .custom-combined-button {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }

    .time-box {
        display: none;
    }

    .time-label-dot {
        display: none;
    }

    .start-card-mobile-space {
        gap: 1rem;
        justify-content: center;
        padding: 5px 20px;
    }

    .shopping-cart-item {
        flex-wrap: wrap;
    }

    .shopping-cart-item-image {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .quantity-control-wrapper {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .remove-product {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .cart-summary-section {
        margin-top: 1rem;
    }

    .contact-info-col,
    .contact-form-col {
        max-width: 100%;
    }

    .about-values-col {
        max-width: 100%;
    }

    body {
        margin-bottom: 7rem;
    }


    .sidebar {
        padding: 30px;
    }

    .comment {
        width: 100%;
    }

    .recent-posts-widget li {
        width: 100%;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }

        .post-meta span {
            margin-left: 0;
            margin-bottom: 8px;
        }
}

@media (max-width: 991px) {
    .footer-col-1,
    .footer-col-2,
    .footer-col-3,
    .footer-col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .main-pages-links .btn {
        white-space: normal;
    }

    .individual-stat-box {
        padding: 3px;
    }

    .contact-info-section > * {
        width: 100%;
        justify-content: center !important;
        text-align: center;
    }

    .address-text {
        white-space: normal;
    }

    .phone-number-footer {
        margin-bottom: 5px;
    }

    .d-flex.flex-wrap.justify-content-end {
        justify-content: center !important;
    }

    .custom-navbar-top .navbar-collapse {
        background-color: white;
        border-top: 1px solid #ddd;
        padding-top: 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .custom-navbar-top .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        border-bottom: 1px solid #eee;
        display: block;
        width: 100%;
        text-align: center;
    }

        .custom-navbar-top .navbar-nav .nav-link:hover {
            background-color: #f8f9fa;
        }

    .custom-navbar-top .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .custom-navbar-top .d-flex.justify-content-end {
        padding: 0.5rem;
        justify-content: center !important;
    }

    .navbar-toggler {
        margin-left: 0;
        margin-right: 1rem;
    }

    .btn-custom-cart {
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .footer-col-1 {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .footer-col-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .footer-col-3,
    .footer-col-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .individual-stat-box {
        border: 1px solid var(--border-light);
        border-radius: 8px;
        padding: 5px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

        .individual-stat-box .stat-title {
            font-size: 1rem;
        }

        .individual-stat-box .stat-subtitle {
            font-size: 0.90rem;
        }

    .social-icon-box {
        width: 40px;
        height: 40px;
        border: 1px solid var(--border-light);
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-menu-wrapper {
        display: none;
    }
}

@media (min-width: 768px) {
    .header-row {
        display: flex;
        align-items: center;
        font-weight: bold;
        padding: 0.5rem 0;
        border-bottom: 1px solid #dee2e6;
        margin-bottom: 0.5rem;
    }

        .header-row > div {
            padding: 0 0.5rem;
        }

    .item-name-header {
        flex: 3;
    }

    .item-price-header,
    .item-quantity-header {
        flex: 1;
        text-align: center;
    }

    .item-total-header {
        display: none;
    }
}

@media (min-width: 1200px) {
    .product-row > div {
        flex: 0 0 calc(100% / 8);
        max-width: calc(100% / 8);
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .product-row > div {
        flex: 0 0 calc(100% / 6);
        max-width: calc(100% / 6);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .product-row > div {
        flex: 0 0 calc(100% / 4);
        max-width: calc(100% / 4);
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .product-row > div {
        flex: 0 0 calc(100% / 3);
        max-width: calc(100% / 3);
    }
}

@media (max-width: 575px) {
    .product-row > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.item-price-col,
.item-quantity-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

/* استایل‌های صفحه پرداخت */
.checkout-area {
    background-color: #f8f9fa;
    padding: 60px 0;
}

/* استایل‌های مراحل پرداخت */
.checkout-steps {
    margin-bottom: 40px;
}

.checkout-steps-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
}

.step.active .step-icon {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-title {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
    font-weight: 600;
}

.step.active .step-title {
    color: var(--primary-color);
}

.step-connector {
    flex: 1;
    height: 3px;
    background-color: #ddd;
    margin: 0 5px;
    position: relative;
    z-index: 0;
}

    .step-connector.active {
        background: var(--primary-gradient);
    }

/* استایل‌های فرم اطلاعات */
.billing-info-wrap {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

    .billing-info-wrap:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.section-title {
    position: relative;
    margin-bottom: 25px;
}

    .section-title h3 {
        font-weight: 700;
        color: #333;
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

.section-line {
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

.input-group {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .input-group:focus-within {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #6c757d;
    width: 45px;
    display: flex;
    justify-content: center;
}

.form-control {
    border: 1px solid #ced4da;
    padding: 12px 15px;
    font-size: 0.95rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: none;
    }

    .form-control.is-invalid {
        border-color: #dc3545;
        background-image: none;
    }

textarea.form-control {
    height: auto;
    resize: vertical;
}

/* استایل‌های خلاصه سفارش */
.order-summary-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

    .order-summary-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.order-summary-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
}

    .order-summary-header h3 {
        font-weight: 700;
        color: #333;
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

.order-summary-body {
    padding: 20px 30px;
}

.order-products-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #555;
}

.order-products-list {
    margin: 15px 0;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

    .order-products-list::-webkit-scrollbar {
        width: 5px;
    }

    .order-products-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .order-products-list::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

.order-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

    .order-product-item:last-child {
        border-bottom: none;
    }

.product-info {
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.product-quantity {
    color: #777;
    font-size: 0.9rem;
}

.product-price {
    font-weight: 600;
    color: #333;
}

.shipping-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
    color: #555;
}

.shipping-cost {
    font-weight: 600;
    color: var(--primary-color);
}

.shipping-message {
    display: flex;
    align-items: flex-start;
    background-color: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.shipping-message-icon {
    color: #0d6efd;
    font-size: 20px;
    margin-left: 10px;
    flex-shrink: 0;
}

.shipping-message p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
}

.order-divider {
    height: 1px;
    background-color: #eee;
    margin: 15px 0;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.total-label {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.total-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.order-actions {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.checkout-button {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .checkout-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .checkout-button:active {
        transform: translateY(0);
    }

    .checkout-button i {
        margin-right: 10px;
        font-size: 0.9rem;
    }

.secure-payment {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    color: #777;
    font-size: 0.9rem;
}

    .secure-payment i {
        margin-left: 8px;
        color: #28a745;
    }

/* استایل‌های کارت راهنما */
.help-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

    .help-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.help-card-header {
    background: var(--primary-gradient);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
}

    .help-card-header i {
        font-size: 24px;
        margin-left: 15px;
    }

    .help-card-header h4 {
        margin: 0;
        font-weight: 600;
        font-size: 1.2rem;
    }

.help-card-body {
    padding: 20px;
}

    .help-card-body p {
        margin-bottom: 15px;
        color: #555;
    }

.help-contact {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 700;
    color: #333;
}

    .help-contact i {
        color: var(--primary-color);
        margin-left: 10px;
    }

.help-hours {
    font-size: 0.85rem;
    color: #777;
}

/* استایل‌های توست */
.checkout-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

    .checkout-toast.show {
        transform: translateX(0);
        opacity: 1;
    }

    .checkout-toast.error {
        border-right: 4px solid #dc3545;
    }

    .checkout-toast.success {
        border-right: 4px solid #28a745;
    }

    .checkout-toast.info {
        border-right: 4px solid #17a2b8;
    }

.toast-icon {
    margin-left: 15px;
    font-size: 20px;
}

    .toast-icon .fa-exclamation-circle {
        color: #dc3545;
    }

    .toast-icon .fa-check-circle {
        color: #28a745;
    }

    .toast-icon .fa-info-circle {
        color: #17a2b8;
    }

.toast-message {
    flex-grow: 1;
    font-size: 0.95rem;
    color: #333;
}

.toast-close {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
    padding: 0;
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* واکنش‌گرایی */
@media (max-width: 991px) {
    .checkout-steps-inner {
        flex-wrap: wrap;
    }

    .step {
        margin-bottom: 15px;
    }

    .step-connector {
        display: none;
    }

    .order-summary-card {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .checkout-area {
        padding: 30px 0;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-title {
        font-size: 12px;
    }

    .billing-info-wrap,
    .order-summary-card,
    .help-card {
        padding: 20px;
    }

    .order-summary-header,
    .order-summary-body,
    .order-actions {
        padding: 15px;
    }

    .checkout-toast {
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
    }
}


/* استایل‌های باکس نتایج جستجو */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-results-inner {
    padding: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

    .search-result-item:hover {
        background-color: #f9f9f9;
    }

.search-result-image {
    width: 50px;
    height: 50px;
    margin-left: 10px;
    border-radius: 4px;
    overflow: hidden;
}

    .search-result-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.search-result-price {
    font-size: 13px;
    color: #007bff;
    font-weight: bold;
}

.search-view-all {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
}

.search-no-results {
    padding: 15px;
    text-align: center;
    color: #666;
}

/* استایل‌های تاریخچه جستجو */
.search-history {
    padding: 10px;
}

.search-history-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.search-history-item {
    display: block;
    padding: 8px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .search-history-item:hover {
        background-color: #f5f5f5;
    }

.search-history-clear {
    display: block;
    width: 100%;
    border: none;
    background-color: transparent;
    color: #dc3545;
    text-align: center;
    padding: 8px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 13px;
}

    .search-history-clear:hover {
        text-decoration: underline;
    }

/* استایل برای هایلایت کردن کلمات جستجو شده */
.highlight {
    background-color: #ffff99;
    padding: 0 2px;
}

/* استایل‌های اضافی برای نسخه موبایل */
@media (max-width: 767px) {
    #mobileSearchResults {
        position: fixed;
        top: 120px;
        left: 10px;
        right: 10px;
        z-index: 1001;
    }
}
