/* ==================== */
/* تنظیمات متغیرها و ریست اولیه */
/* ==================== */
:root {
    --primary-color: #111111;
    --accent-color: #ffcc00;
    --bg-color: #ffffff;
    --text-color: #333333;
    --gray-light: #f5f5f5;
    --danger-color: #d32f2f;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tahoma', 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img, iframe, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

/* ==================== */
/* بخش Hero */
/* ==================== */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('./images/OOO.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 60px;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    margin-bottom: 30px;
}

/* ==================== */
/* دکمه‌ها */
/* ==================== */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 30px;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-primary-custom:hover {
    background: var(--primary-color);
    color: white;
}

/* ==================== */
/* بخش تخفیف شگفت‌انگیز */
/* ==================== */
.flash-sale {
    padding: 60px 0;
    background-color: var(--gray-light);
    margin-bottom: 60px;
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.flash-title h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    display: inline-block;
}

.countdown {
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: 700;
    color: var(--danger-color);
    font-family: monospace;
}

/* ==================== */
/* کارت محصولات - برای Bootstrap */
/* ==================== */

/* تنظیم ردیف محصولات */
.flash-sale .row,
.products-section .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* تنظیم ستون‌ها */
.flash-sale [class*="col-"],
.products-section [class*="col-"] {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* کارت محصول */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

/* بخش تصویر - مربعی */
.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f9f9f9;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* نشان تخفیف */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

/* بخش اطلاعات محصول */
.product-info {
    padding: 12px;
    text-align: center;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    flex: 1;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 35px;
}

.product-title a {
    text-decoration: none;
    color: inherit;
}

.product-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.current-price {
    color: var(--primary-color);
}

.old-price {
    color: #999;
    font-size: 0.75rem;
    text-decoration: line-through;
}

.discount-percent {
    color: var(--danger-color);
    font-weight: 700;
    font-size: 0.75rem;
}

/* دکمه‌های هاور روی کارت */
.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.product-actions .btn {
    padding: 6px 12px;
    font-size: 0.7rem;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    color: var(--text-color);
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.product-actions .btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ==================== */
/* بنرهای تصویری - اصلاح شده برای دسکتاپ */
/* ==================== */
.promo-banners {
    padding: 60px 0;
    width: 100%;
}

.promo-banners .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.promo-banners [class*="col-"] {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* در دسکتاپ 3 تا بنر کنار هم با اندازه مناسب */
@media (min-width: 992px) {
    .promo-banners .col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

.promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    width: 100%;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover img {
    transform: scale(1.1);
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    transition: background 0.3s ease;
    padding: 20px;
    text-align: center;
}

.promo-card:hover .promo-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.promo-overlay h3 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    word-wrap: break-word;
}

.promo-overlay .btn {
    background: white;
    color: black;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.promo-overlay .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* ==================== */
/* دکمه مشاهده همه */
/* ==================== */
.btn-view-all {
    text-align: center;
    margin-top: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ==================== */
/* ریسپانسیو */
/* ==================== */

/* دسکتاپ بزرگ */
@media (min-width: 1200px) {
    .flash-sale .col-lg-3,
    .products-section .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* دسکتاپ متوسط تا لپ‌تاپ */
@media (min-width: 992px) and (max-width: 1199px) {
    .flash-sale .col-lg-3,
    .products-section .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    /* فونت‌های کوچک‌تر برای دسکتاپ */
    .product-title {
        font-size: 0.8rem;
        min-height: 32px;
    }
    
    .product-price {
        font-size: 0.8rem;
    }
    
    .product-info {
        padding: 10px 8px;
    }
    
    .product-actions .btn {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
}

/* تبلت */
@media (min-width: 768px) and (max-width: 991px) {
    .flash-sale .col-md-4,
    .products-section .col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* موبایل */
@media (max-width: 767px) {
    .flash-sale, .products-section, .promo-banners {
        padding: 40px 0;
    }
    
    .container {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .hero-section {
        min-height: 60vh;
        margin-bottom: 40px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .flash-sale .col-sm-6,
    .products-section .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-title {
        font-size: 0.8rem;
        min-height: 35px;
    }
    
    .product-price {
        font-size: 0.75rem;
        gap: 4px;
    }
    
    /* در موبایل دکمه‌ها همیشه نمایش داده بشن */
    .product-actions {
        position: static;
        transform: none;
        background: #f9f9f9;
        border-top: 1px solid #eee;
        margin-top: auto;
    }
    
    .product-card:hover .product-actions {
        transform: none;
    }
    
    .product-actions .btn {
        padding: 6px 10px;
        font-size: 0.65rem;
    }
    
    .flash-header {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-banners .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .promo-card {
        aspect-ratio: 16 / 9;
    }
    
    .promo-overlay h3 {
        font-size: 1.2rem;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .flash-sale .col-sm-6,
    .products-section .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
}
:root {
    --bg: rgba(12, 18, 28, 0.9);
    --bg-solid: #0f172a;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.brand-accent {
    color: rgb(83, 83, 235);
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-link,
.user-link,
.cart-link {
    text-decoration: none;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.user-link:hover,
.cart-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-btn {
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent), #fbbf24);
    color: #111827;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 12px;
    transition: 0.25s ease;
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.18);
}

.register-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    color: white;
    transform: translateY(-1px);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 230px;
    background: #111827;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px;
    margin: 0;
    list-style: none;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s ease;
    z-index: 1001;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a,
.dropdown-menu li span {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.dropdown-menu .danger {
    color: #f87171;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 8px 6px;
}

.disabled-item {
    color: var(--muted) !important;
    cursor: default;
}

.user-dropdown {
    position: relative;
}

.user-menu {
    left: auto;
    right: 0;
}

.cart-link {
    position: relative;
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.cart-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
}

/* Responsive */
@media (max-width: 992px) {
    .menu-button {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #0f172a;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px;
        display: none;
    }

    .menu-toggle:checked ~ .main-nav {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-link,
    .user-link,
    .register-btn {
        width: 100%;
        justify-content: space-between;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-top: 10px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 6px;
        width: 100%;
    }

    .dropdown:hover > .dropdown-menu {
        display: block;
    }
}
.site-footer {
    background-color: #050505;
    color: #94a3b8;
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3, .footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #f59e0b;
}

/* فرم خبرنامه */
.newsletter form {
    display: flex;
    gap: 10px;
}

.newsletter input {
    background: #111;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 8px;
    color: white;
    flex: 1;
}

.newsletter button {
    background: #f59e0b;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* شبکه اجتماعی */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

/* پایین فوتر */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links { justify-content: center; }
}
/* ==================== */
/* صفحه درباره ما - بدون بوت استرپ */
/* ==================== */

/* ریست کردن مقادیر پیش‌فرض */
.about-hero,
.story-section,
.values-section,
.stats-section,
.team-section,
.contact-info {
    max-width: 100%;
    overflow-x: hidden;
}

/* هدر صفحه */
.about-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* داستان ما */
.story-section {
    padding: 0 20px 60px 20px;
}

.story-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-section .col-lg-6 {
    flex: 1;
    min-width: 280px;
}

.story-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-content h2 {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.story-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: #ffcc00;
}

.story-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* ارزش‌های ما */
.values-section {
    background: #f8f9fa;
    padding: 60px 20px;
    margin: 40px 0;
}

.values-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 10px;
}

.values-section .text-muted {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
}

.values-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.value-card {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 200px;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* آمار و ارقام */
.stats-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
}

.stats-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 180px;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
}

/* تیم ما */
.team-section {
    padding: 60px 20px;
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 10px;
}

.team-section .text-muted {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
}

.team-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.team-card {
    text-align: center;
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0d6efd;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.team-card p {
    color: #666;
    font-size: 0.9rem;
}

/* اطلاعات تماس */
.contact-info {
    background: #f8f9fa;
    padding: 60px 20px;
}

.contact-info h2 {
    text-align: center;
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 10px;
}

.contact-info .text-muted {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
}

.contact-info .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    justify-content: center;
}

.contact-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 250px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin: 5px 0;
}

/* نقشه */
.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ==================== */
/* ریسپانسیو */
/* ==================== */

/* تبلت */
@media (max-width: 992px) {
    .about-hero {
        padding: 60px 20px;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .story-section .row {
        flex-direction: column;
    }
    
    .story-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .story-content {
        text-align: center;
    }
    
    .story-content h2::after {
        right: 50%;
        transform: translateX(50%);
    }
}

/* موبایل */
@media (max-width: 768px) {
    .about-hero {
        padding: 50px 15px;
        margin-bottom: 40px;
    }
    
    .about-hero h1 {
        font-size: 1.6rem;
    }
    
    .about-hero p {
        font-size: 0.95rem;
    }
    
    .story-section {
        padding: 0 15px 40px 15px;
    }
    
    .story-content h2 {
        font-size: 1.6rem;
    }
    
    .story-content p {
        font-size: 0.9rem;
    }
    
    .values-section,
    .stats-section,
    .team-section,
    .contact-info {
        padding: 40px 15px;
    }
    
    .values-section h2,
    .team-section h2,
    .contact-info h2 {
        font-size: 1.6rem;
    }
    
    .value-card,
    .team-card,
    .contact-card {
        min-width: 100%;
    }
    
    .value-card {
        padding: 20px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
    }
    
    .map-container iframe {
        height: 250px;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.4rem;
    }
    
    .story-content h2 {
        font-size: 1.4rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-item {
        min-width: 100%;
    }
    
    .stats-section .row {
        gap: 15px;
    }
}
/* ==================== */
/* صفحه تماس با ما - بدون Bootstrap */
/* ==================== */

/* هدر تماس با ما */
.contact-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.contact-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* کارت‌های اطلاعات تماس */
.contact-info-card {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #666;
    line-height: 1.8;
    margin: 5px 0;
}

/* فرم تماس */
.contact-form-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.form-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-subtitle {
    color: #666;
    margin-bottom: 30px;
}

/* استایل فرم */
.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: var(--transition);
    background: white;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 40px;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    background: linear-gradient(135deg, #0a58ca, #0d6efd);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* نقشه */
.map-container {
    margin: 60px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ساعات کاری و شبکه‌های اجتماعی */
.faq-contact {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.faq-contact h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
}

.working-hours p {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    margin: 0;
    color: #555;
}

.working-hours p span:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-3px);
}

/* ==================== */
/* ریسپانسیو */
/* ==================== */

/* تبلت */
@media (max-width: 992px) {
    .contact-hero {
        padding: 60px 20px;
        margin-bottom: 40px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .form-card {
        padding: 30px 25px;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 15px;
        margin-bottom: 30px;
    }
    
    .contact-hero h1 {
        font-size: 1.6rem;
    }
    
    .contact-hero p {
        font-size: 0.95rem;
    }
    
    .contact-info-card {
        padding: 20px 15px;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
    }
    
    .contact-icon i {
        font-size: 1.4rem;
    }
    
    .contact-info-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-info-card p {
        font-size: 0.85rem;
    }
    
    .contact-form-section {
        padding: 40px 0;
    }
    
    .form-card {
        padding: 20px;
    }
    
    .form-title {
        font-size: 1.4rem;
    }
    
    .form-subtitle {
        font-size: 0.85rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .btn-submit {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .map-container {
        margin: 40px auto;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .faq-contact {
        padding: 20px;
    }
    
    .faq-contact h3 {
        font-size: 1.1rem;
    }
    
    .working-hours p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.4rem;
    }
    
    .form-card {
        padding: 15px;
    }
    
    .working-hours p {
        flex-direction: column;
        gap: 5px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ردیف و ستون‌های سفارشی (جایگزین Bootstrap) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
    margin-bottom: 30px;
}

.col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* ریسپانسیو برای ستون‌ها */
@media (max-width: 768px) {
    .col-md-4,
    .col-md-6,
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* کلاس‌های کمکی */
.text-center {
    text-align: center;
}

.text-muted {
    color: #6c757d;
}

.small {
    font-size: 0.85rem;
}

.mt-2 {
    margin-top: 8px;
}

.mt-3 {
    margin-top: 16px;
}

.mt-4 {
    margin-top: 24px;
}

.mb-5 {
    margin-bottom: 48px;
}

.me-2 {
    margin-right: 8px;
}
/* ==================== */
/* بخش درباره فروشگاه MonadStyle */
/* ==================== */

.about-store-section {
    padding: 60px 0;
}

.about-store-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-store-card:hover {
    box-shadow: var(--box-shadow-hover);
}

.about-store-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.about-store-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
}

.about-store-content {
    color: #555;
    line-height: 1.9;
}

.about-store-content p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-store-content p strong {
    color: var(--primary-color);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-light);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-item i {
    font-size: 1.2rem;
    color: #0d6efd;
}

.store-signature {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
}

.store-signature p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.store-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-social-link {
    text-decoration: none;
    color: var(--primary-color);
    background: var(--gray-light);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.store-social-link:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-2px);
}

/* ریسپانسیو برای بخش درباره فروشگاه */
@media (max-width: 768px) {
    .about-store-section {
        padding: 40px 0;
    }
    
    .about-store-card {
        padding: 25px 20px;
    }
    
    .about-store-title {
        font-size: 1.4rem;
    }
    
    .about-store-content p {
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    .features-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        justify-content: center;
    }
    
    .store-social-link {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .about-store-card {
        padding: 20px 15px;
    }
    
    .about-store-title {
        font-size: 1.2rem;
    }
    
    .store-social-links {
        gap: 10px;
    }
    
    .store-social-link {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}
/* ==================== */
/* صفحه ورود - Login Page */
/* ==================== */

.login-container {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
}

.login-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--box-shadow-hover);
    transition: var(--transition);
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* هدر کارت ورود */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    color: #0d6efd;
}

.login-header h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 800;
    color: var(--primary-color);
    margin: 15px 0 8px 0;
}

.login-header .text-muted {
    color: #6c757d;
    font-size: 0.9rem;
}

/* استایل فرم */
.login-card .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
}

.login-card .form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: var(--transition);
    background: white;
    font-family: inherit;
}

.login-card .form-control:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

/* استایل خطاهای فرم */
.login-card .errorlist {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    color: #dc2626;
    font-size: 0.8rem;
}

/* دکمه ورود */
.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 40px;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    background: linear-gradient(135deg, #0a58ca, #0d6efd);
}

.btn-login:active {
    transform: translateY(0);
}

/* لینک ثبت نام */
.register-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.9rem;
    color: #6c757d;
}

.register-link a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.register-link a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* کلاس‌های کمکی */
.mb-3 {
    margin-bottom: 20px;
}

.mb-3:last-child {
    margin-bottom: 0;
}

.text-primary {
    color: #0d6efd;
}

/* ==================== */
/* ریسپانسیو */
/* ==================== */

/* تبلت */
@media (max-width: 768px) {
    .login-container {
        padding: 40px 15px;
        min-height: calc(100vh - 250px);
    }
    
    .login-card {
        padding: 30px 25px;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .login-header i {
        font-size: 3rem !important;
    }
    
    .btn-login {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* موبایل */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 12px;
        min-height: calc(100vh - 200px);
    }
    
    .login-card {
        padding: 25px 18px;
    }
    
    .login-header h2 {
        font-size: 1.3rem;
    }
    
    .login-header i {
        font-size: 2.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .login-header .text-muted {
        font-size: 0.8rem;
    }
    
    .login-card .form-label {
        font-size: 0.85rem;
    }
    
    .login-card .form-control {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .btn-login {
        padding: 11px 18px;
        font-size: 0.9rem;
    }
    
    .register-link {
        font-size: 0.85rem;
        margin-top: 20px;
        padding-top: 15px;
    }
}

/* اضافه کردن کلاس‌های فرم برای Django */
input[type="text"].form-control,
input[type="email"].form-control,
input[type="password"].form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: var(--transition);
    background: white;
}

input[type="text"].form-control:focus,
input[type="email"].form-control:focus,
input[type="password"].form-control:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

/* استایل برای ارورهای غیر فیلدی (non-field errors) */
.alert-error {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error i {
    font-size: 1rem;
}
/* ==================== */
/* صفحه پروفایل کاربری */
/* ==================== */

/* هدر پروفایل */
.profile-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 50px 0;
    margin-bottom: 50px;
    color: white;
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .profile-header-content {
        flex-direction: column;
        text-align: center;
    }
}

/* آواتار */
.profile-avatar-wrapper {
    flex-shrink: 0;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    border-color: white;
}

.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-avatar-placeholder i {
    font-size: 3rem;
    color: white;
}

.profile-avatar-placeholder:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

/* اطلاعات کاربر */
.profile-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-meta {
    opacity: 0.85;
    font-size: 0.9rem;
}

/* گرید کارت‌ها */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* کارت پروفایل */
.profile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.profile-card-header {
    padding: 20px 25px 15px 25px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-card-header i {
    font-size: 1.5rem;
    color: #0d6efd;
}

.profile-card-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.profile-card-body {
    padding: 20px 25px;
    flex: 1;
}

/* ردیف اطلاعات */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.info-value {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.wallet-balance {
    color: #10b981;
    font-weight: 700;
}

.loyalty-points {
    color: #f59e0b;
    font-weight: 700;
}

.user-level-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 4px 12px;
    border-radius: 30px;
    color: white;
    font-size: 0.8rem;
    display: inline-block;
}

/* متن آدرس */
.address-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

.text-muted {
    color: #999;
}

/* دکمه‌ها */
.profile-card-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    color: #111;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-edit:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-2px);
}

.btn-orders {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-orders:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    color: white;
}

.text-center {
    text-align: center;
}

/* ==================== */
/* ریسپانسیو */
/* ==================== */

@media (max-width: 768px) {
    .profile-header {
        padding: 35px 0;
        margin-bottom: 35px;
    }
    
    .profile-avatar,
    .profile-avatar-placeholder {
        width: 90px;
        height: 90px;
    }
    
    .profile-avatar-placeholder i {
        font-size: 2.2rem;
    }
    
    .profile-info h2 {
        font-size: 1.3rem;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .profile-avatar,
    .profile-avatar-placeholder {
        width: 70px;
        height: 70px;
    }
    
    .profile-avatar-placeholder i {
        font-size: 1.8rem;
    }
    
    .profile-info h2 {
        font-size: 1.1rem;
    }
    
    .profile-card-header {
        padding: 15px 20px;
    }
    
    .profile-card-body {
        padding: 15px 20px;
    }
    
    .profile-card-header h4 {
        font-size: 1rem;
    }
    
    .profile-card-header i {
        font-size: 1.2rem;
    }
    
    .btn-orders {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
    }
}
/* ==================== */
/* نوار فیلتر و مرتب‌سازی - زیر نوار اصلی */
/* ==================== */

.filter-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
    padding: 12px 20px;
    background: #f8f8f8;
    border-radius: 50px;
    border: 1px solid #eee;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
}

.results-count i {
    font-size: 1rem;
    color: #111;
}

.filter-sort-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* دکمه فیلتر */
.btn-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-filter:hover {
    background: #111;
    color: white;
    border-color: #111;
}

.filter-active-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    background: #ff5722;
    border-radius: 50%;
    border: 2px solid white;
}

/* مرتب‌سازی کشویی */
.sort-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.sort-select {
    padding: 8px 35px 8px 18px;
    border: 1px solid #ddd;
    border-radius: 40px;
    background: white;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.sort-select:hover {
    border-color: #111;
}

.sort-select:focus {
    outline: none;
    border-color: #111;
}

.sort-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #999;
    pointer-events: none;
}

/* ==================== */
/* بقیه استایل‌ها مثل قبل */
/* ==================== */

/* هدر دسته‌بندی */
.category-header {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    padding: 50px 0;
    color: white;
    margin-bottom: 40px;
}

.category-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.category-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-breadcrumb a:hover {
    color: white;
}

.category-breadcrumb .separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

.category-breadcrumb .current {
    color: white;
}

.category-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.category-description {
    opacity: 0.8;
    font-size: 0.95rem;
    max-width: 700px;
}

/* زیردسته‌ها */
.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.subcategory-item {
    background: #f5f5f5;
    padding: 8px 22px;
    border-radius: 40px;
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.subcategory-item:hover {
    background: #111;
    color: white;
    transform: translateY(-2px);
}

.subcategory-item.active {
    background: #111;
    color: white;
}

/* مودال فیلتر */
.filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.filter-modal.active {
    display: flex;
}

.filter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.filter-modal-content {
    position: relative;
    width: 90%;
    max-width: 450px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.filter-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-modal-header h3 i {
    color: #ffcc00;
}

.filter-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-modal-close:hover {
    background: #e0e0e0;
}

/* گروه‌های فیلتر */
.filter-group {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-label {
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.brand-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 250px;
    overflow-y: auto;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s ease;
}

.radio-label:hover {
    color: #111;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #111;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-input {
    flex: 1;
}

.price-field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.price-field:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.1);
}

.price-separator {
    color: #999;
    font-size: 0.9rem;
}

.filter-actions {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    background: #f9f9f9;
    position: sticky;
    bottom: 0;
}

.btn-filter-apply {
    flex: 2;
    background: #111;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter-apply:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-filter-reset {
    flex: 1;
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-filter-reset:hover {
    background: #e0e0e0;
    color: #d32f2f;
}

/* گرید محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* کارت محصول */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f9f9f9;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d32f2f;
    color: white;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.btn-cart,
.btn-wishlist,
.btn-details {
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-cart:hover,
.btn-wishlist:hover,
.btn-details:hover {
    background: #111;
    color: white;
    border-color: #111;
}

.product-info {
    padding: 12px;
    text-align: center;
    background: white;
    flex: 1;
}

.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 38px;
}

.product-old-price {
    font-size: 0.7rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.product-price {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
}

.empty-products {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 20px;
    grid-column: 1 / -1;
}

.empty-products i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 15px;
}

.empty-products h3 {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 10px;
}

/* صفحه‌بندی */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #111;
    color: white;
    border-color: #111;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: #f5f5f5;
    border-color: #111;
}

.page-number.active {
    background: #111;
    color: white;
    border-color: #111;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .filter-sort-bar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
    }
    
    .filter-sort-actions {
        justify-content: space-between;
    }
    
    .btn-filter {
        flex: 1;
        justify-content: center;
    }
    
    .sort-dropdown {
        flex: 2;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .page-numbers {
        display: none;
    }
    
    .pagination {
        justify-content: space-between;
    }
}
/* ==================== */
/* صفحه جزئیات محصول - رنگ‌بندی سفید، آبی کم، خاکستری خیلی کم */
/* ==================== */

.product-detail-container {
    padding: 30px 0 50px;
}

/* دانه‌بندی */
.product-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.product-breadcrumb a {
    color: #8aaec8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-breadcrumb a:hover {
    color: #6b9fc2;
}

.product-breadcrumb .separator {
    margin: 0 8px;
    color: #c5dae8;
}

.product-breadcrumb .current {
    color: #5a8bb5;
}

/* بخش اصلی محصول */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* گالری تصاویر */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image-container {
    background: #fafcfd;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    cursor: zoom-in;
    border: 1px solid #eef2f5;
}

.main-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail-list::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item.active {
    border-color: #6b9fc2;
    box-shadow: 0 0 0 2px rgba(107, 159, 194, 0.2);
}

.thumbnail-item:hover {
    border-color: #8ab3d0;
}

/* اطلاعات محصول */
.product-info-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-detail-title {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 700;
    color: #2c5f8a;
    margin: 0;
    line-height: 1.3;
}

.brand-badge {
    display: inline-block;
    background: #f5f8fa;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    color: #6b9fc2;
    width: fit-content;
}

.brand-badge i {
    margin-left: 6px;
    color: #8ab3d0;
}

.rating-stars {
    color: #ffc107;
    margin: 5px 0;
}

.rating-stars i {
    margin-left: 2px;
}

.rating-count {
    color: #aac4d4;
    font-size: 0.8rem;
    margin-right: 8px;
}

.price-box-detail {
    background: #fafcfd;
    padding: 15px 20px;
    border-radius: 16px;
    margin: 10px 0;
    border: 1px solid #eef2f5;
}

.current-price-detail {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    color: #5a8bb5;
}

.old-price-detail {
    font-size: 1rem;
    color: #bcd0e0;
    text-decoration: line-through;
    margin-right: 12px;
}

.discount-badge-detail {
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 12px;
}

.short-description-detail {
    color: #8aaec8;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* انتخاب تعداد */
.quantity-selector-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.quantity-btn-detail {
    width: 40px;
    height: 40px;
    border: 1px solid #e0eaf0;
    background: #ffffff;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #6b9fc2;
}

.quantity-btn-detail:hover {
    background: #e1eff7;
    border-color: #c5dae8;
    color: #2c5f8a;
}

.quantity-input-detail {
    width: 70px;
    height: 40px;
    text-align: center;
    border: 1px solid #e0eaf0;
    border-radius: 12px;
    font-size: 1rem;
    color: #5a8bb5;
    background: #ffffff;
}

.quantity-input-detail:focus {
    outline: none;
    border-color: #8ab3d0;
}

/* دکمه افزودن به سبد خرید */
.btn-add-to-cart-detail {
    background: #6b9fc2;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
    margin: 10px 0;
}

.btn-add-to-cart-detail:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
}

/* موجودی */
.stock-info-detail {
    font-size: 0.85rem;
    color: #8aaec8;
}

.stock-info-detail i {
    margin-left: 6px;
}

.stock-info-detail .fa-check-circle {
    color: #6b9fc2;
}

.stock-info-detail .fa-times-circle {
    color: #c5dae8;
}

/* تب‌ها */
.product-tabs {
    margin: 50px 0;
}

.tabs-header {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #eef2f5;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #8aaec8;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #5a8bb5;
}

.tab-btn.active {
    color: #2c5f8a;
    border-bottom: 2px solid #6b9fc2;
    margin-bottom: -2px;
}

.tabs-content {
    padding: 25px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.product-description-detail {
    color: #7a9cbb;
    line-height: 1.8;
    font-size: 0.95rem;
}

.specs-table-detail {
    width: 100%;
    border-collapse: collapse;
}

.specs-table-detail tr td {
    padding: 12px;
    border-bottom: 1px solid #eef2f5;
}

.specs-table-detail tr td:first-child {
    font-weight: 600;
    width: 35%;
    background: #fafcfd;
    color: #5a8bb5;
}

.specs-table-detail tr td:last-child {
    color: #8aaec8;
}

.empty-specs {
    color: #bcd0e0;
    text-align: center;
    padding: 40px;
}

/* محصولات مشابه */
.related-products-section {
    margin: 60px 0;
    padding: 40px 0;
    background: #fafcfd;
}

.section-header-detail {
    text-align: center;
    margin-bottom: 35px;
}

.section-header-detail h3 {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 700;
    color: #2c5f8a;
    margin-bottom: 8px;
}

.section-header-detail p {
    color: #aac4d4;
    font-size: 0.9rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

/* کارت محصول در بخش مشابه */
.product-card-detail {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(44, 95, 138, 0.05);
    border: 1px solid #eef2f5;
}

.product-card-detail:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 95, 138, 0.08);
    border-color: #d4e6f2;
}

.product-image-detail {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #fafcfd;
}

.product-image-detail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-detail:hover .product-image-detail img {
    transform: scale(1.05);
}

.product-actions-detail {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.product-card-detail:hover .product-actions-detail {
    transform: translateY(0);
}

.action-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
    border-radius: 20px;
    border: 1px solid #e0eaf0;
    background: #ffffff;
    color: #6b9fc2;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: #e1eff7;
    color: #2c5f8a;
    border-color: #c5dae8;
}

.product-info-detail {
    padding: 12px;
    text-align: center;
}

.product-title-detail {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a8bb5;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 38px;
}

.product-price-detail {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a7ca5;
}

.current-price-text {
    color: #6b9fc2;
}

/* بخش نظرات */
.comments-section-detail {
    margin: 60px 0;
    padding: 40px 0;
}

.comments-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.comment-form-card {
    background: #fafcfd;
    border: 1px solid #eef2f5;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 35px;
}

.comment-form-card h5 {
    color: #2c5f8a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label-detail {
    display: block;
    font-weight: 600;
    color: #5a8bb5;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-select-detail {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0eaf0;
    border-radius: 12px;
    background: #ffffff;
    color: #5a8bb5;
    font-size: 0.9rem;
}

.form-select-detail:focus {
    outline: none;
    border-color: #8ab3d0;
}

.form-textarea-detail {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0eaf0;
    border-radius: 12px;
    background: #ffffff;
    color: #5a8bb5;
    font-size: 0.9rem;
    resize: vertical;
    font-family: inherit;
}

.form-textarea-detail:focus {
    outline: none;
    border-color: #8ab3d0;
}

.btn-submit-comment {
    background: #6b9fc2;
    color: #ffffff;
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-comment:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
}

.login-alert {
    background: #e1eff7;
    border: 1px solid #c5dae8;
    border-radius: 16px;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 30px;
    color: #5a8bb5;
}

.login-alert a {
    color: #2c5f8a;
    font-weight: 600;
    text-decoration: none;
}

.login-alert a:hover {
    text-decoration: underline;
}

.comment-card-detail {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.comment-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.comment-user-detail {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-avatar-detail {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #d4e6f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5f8a;
    font-weight: 700;
    font-size: 1.1rem;
}

.comment-rating-detail {
    color: #ffc107;
    font-size: 0.8rem;
    margin-top: 4px;
}

.comment-date {
    color: #bcd0e0;
    font-size: 0.75rem;
}

.comment-text-detail {
    color: #8aaec8;
    line-height: 1.7;
    margin-top: 12px;
}

.empty-comments {
    text-align: center;
    padding: 50px 20px;
    background: #fafcfd;
    border-radius: 16px;
    border: 1px solid #eef2f5;
}

.empty-comments i {
    font-size: 3rem;
    color: #c5dae8;
    margin-bottom: 15px;
}

.empty-comments p {
    color: #aac4d4;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .product-detail-container {
        padding: 15px 0 30px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .comment-header-detail {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .comment-form-card {
        padding: 18px;
    }
}
/* ==================== */
/* صفحه لیست محصولات - با مودال فیلتر */
/* رنگ‌بندی: سفید، آبی کم، خاکستری خیلی کم */
/* ==================== */

/* هدر صفحه */
.products-header {
    background: linear-gradient(135deg, #d4e6f2 0%, #e1eff7 100%);
    padding: 50px 0;
    color: #2c5f8a;
    margin-bottom: 40px;
    text-align: center;
}

.products-header h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.products-header p {
    opacity: 0.75;
    font-size: 0.95rem;
}

/* ==================== نوار ابزار ==================== */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid #eef2f5;
    box-shadow: 0 2px 8px rgba(44, 95, 138, 0.03);
}

.results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #8aaec8;
}

.results-count i {
    color: #6b9fc2;
}

.toolbar-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* دکمه فیلتر */
.btn-filter-main {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #f5f8fa;
    border: 1px solid #e0eaf0;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a8bb5;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-filter-main:hover {
    background: #e1eff7;
    border-color: #c5dae8;
    color: #2c5f8a;
}

.filter-active-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    background: #6b9fc2;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

/* مرتب‌سازی کشویی */
.sort-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.sort-select {
    padding: 8px 35px 8px 18px;
    border: 1px solid #e0eaf0;
    border-radius: 40px;
    background: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a8bb5;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
}

.sort-select:hover {
    border-color: #c5dae8;
    background: #fafcfd;
}

.sort-select:focus {
    outline: none;
    border-color: #8ab3d0;
}

.sort-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #aac4d4;
    pointer-events: none;
}

/* ==================== مودال فیلتر ==================== */
.filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.filter-modal.active {
    display: flex;
}

.filter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 95, 138, 0.15);
    backdrop-filter: blur(4px);
}

.filter-modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(44, 95, 138, 0.1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f5;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
}

.filter-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5f8a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-modal-header h3 i {
    color: #6b9fc2;
}

.filter-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f8fa;
    border: 1px solid #eef2f5;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8aaec8;
}

.filter-modal-close:hover {
    background: #e1eff7;
    color: #2c5f8a;
}

.filter-modal-body {
    padding: 0;
}

/* گروه‌های فیلتر در مودال */
.filter-group-modal {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f4f7;
}

.filter-group-modal:last-child {
    border-bottom: none;
}

.filter-label-modal {
    font-weight: 600;
    color: #5a8bb5;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* لیست برندها */
.brand-list-modal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.color-list-modal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 180px;
    overflow-y: auto;
}

.filter-radio-modal {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #8aaec8;
    transition: all 0.3s ease;
}

.filter-radio-modal:hover {
    color: #5a8bb5;
}

.filter-radio-modal input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6b9fc2;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #e0eaf0;
}

/* محدوده قیمت */
.price-range-modal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-input-modal {
    flex: 1;
}

.price-field-modal {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0eaf0;
    border-radius: 12px;
    font-size: 0.9rem;
    background: #ffffff;
    color: #5a8bb5;
    transition: all 0.3s ease;
}

.price-field-modal:focus {
    outline: none;
    border-color: #8ab3d0;
    box-shadow: 0 0 0 2px rgba(107, 159, 194, 0.1);
}

.price-field-modal::placeholder {
    color: #bcd0e0;
}

.price-sep-modal {
    color: #aac4d4;
    font-size: 0.9rem;
}

/* دکمه‌های مودال */
.filter-actions-modal {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    background: #fafcfd;
    border-top: 1px solid #eef2f5;
    position: sticky;
    bottom: 0;
}

.btn-apply-filter {
    flex: 2;
    background: #6b9fc2;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply-filter:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
}

.btn-reset-filter {
    flex: 1;
    background: #f0f4f7;
    color: #8aaec8;
    border: 1px solid #e0eaf0;
    padding: 12px;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-reset-filter:hover {
    background: #e8eef2;
    color: #6b9fc2;
}

/* ==================== گرید محصولات ==================== */
.products-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .products-grid-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* کارت محصول */
.product-card-list {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(44, 95, 138, 0.05);
    border: 1px solid #eef2f5;
    display: flex;
    flex-direction: column;
}

.product-card-list:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 95, 138, 0.08);
    border-color: #d4e6f2;
}

.product-badge-list {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 2;
}

.product-image-list {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #fafcfd;
}

.product-image-list img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-list:hover .product-image-list img {
    transform: scale(1.05);
}

.no-image-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8fa;
    color: #aac4d4;
    font-size: 0.8rem;
}

.product-actions-list {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.product-card-list:hover .product-actions-list {
    transform: translateY(0);
}

.action-btn {
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 20px;
    border: 1px solid #e0eaf0;
    background: #ffffff;
    color: #6b9fc2;
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.action-btn:hover {
    background: #e1eff7;
    color: #2c5f8a;
    border-color: #c5dae8;
}

.cart-btn {
    background: #6b9fc2;
    color: #ffffff;
    border-color: #6b9fc2;
}

.cart-btn:hover {
    background: #5a8bb5;
    color: #ffffff;
}

.product-info-list {
    padding: 12px;
    text-align: center;
    background: #ffffff;
    flex: 1;
}

.product-title-list {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 38px;
}

.product-title-list a {
    text-decoration: none;
    color: #5a8bb5;
    transition: all 0.3s ease;
}

.product-title-list a:hover {
    color: #2c5f8a;
}

.product-price-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.current-price-list {
    font-size: 0.95rem;
    font-weight: 800;
    color: #4a7ca5;
}

.old-price-list {
    font-size: 0.7rem;
    color: #bcd0e0;
    text-decoration: line-through;
}

.product-brand-list {
    font-size: 0.7rem;
    color: #aac4d4;
}

/* حالت خالی */
.empty-products-list {
    text-align: center;
    padding: 60px 20px;
    background: #fafcfd;
    border-radius: 20px;
    border: 1px solid #eef2f5;
    grid-column: 1 / -1;
}

.empty-products-list i {
    font-size: 4rem;
    color: #c5dae8;
    margin-bottom: 15px;
}

.empty-products-list h3 {
    font-size: 1.3rem;
    color: #8aaec8;
    margin-bottom: 10px;
}

.empty-products-list p {
    color: #aac4d4;
    margin-bottom: 20px;
}

.btn-view-all {
    display: inline-block;
    background: #6b9fc2;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
}

/* ==================== صفحه‌بندی ==================== */
.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link-list {
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #e0eaf0;
    border-radius: 30px;
    color: #6b9fc2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link-list:hover {
    background: #e1eff7;
    color: #2c5f8a;
    border-color: #c5dae8;
}

.page-numbers-list {
    display: flex;
    gap: 5px;
}

.page-number-list {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid #e0eaf0;
    border-radius: 10px;
    color: #6b9fc2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-number-list:hover {
    background: #e1eff7;
    border-color: #c5dae8;
    color: #2c5f8a;
}

.page-number-list.active {
    background: #d4e6f2;
    color: #2c5f8a;
    border-color: #c5dae8;
    font-weight: 600;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
    }
    
    .toolbar-buttons {
        justify-content: space-between;
    }
    
    .btn-filter-main {
        flex: 1;
        justify-content: center;
    }
    
    .sort-wrapper {
        flex: 2;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .page-numbers-list {
        display: none;
    }
    
    .pagination-list {
        justify-content: space-between;
    }
}

/* اسکرول بار */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f4f7;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c5dae8;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aac4d4;
}
/* ==================== */
/* صفحه دسته‌بندی - با مودال فیلتر */
/* رنگ‌بندی: سفید، آبی کم، خاکستری خیلی کم */
/* ==================== */

/* هدر دسته‌بندی */
.category-header {
    background: linear-gradient(135deg, #d4e6f2 0%, #e1eff7 100%);
    padding: 50px 0;
    color: #2c5f8a;
    margin-bottom: 40px;
}

.category-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.category-breadcrumb a {
    color: #8aaec8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-breadcrumb a:hover {
    color: #6b9fc2;
}

.category-breadcrumb .separator {
    margin: 0 8px;
    color: #c5dae8;
}

.category-breadcrumb .current {
    color: #2c5f8a;
    font-weight: 600;
}

.category-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c5f8a;
}

.category-description {
    opacity: 0.75;
    font-size: 0.95rem;
    max-width: 700px;
    color: #8aaec8;
}

/* زیردسته‌ها */
.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f5;
}

.subcategory-item {
    background: #f5f8fa;
    padding: 8px 22px;
    border-radius: 40px;
    text-decoration: none;
    color: #8aaec8;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.subcategory-item:hover {
    background: #e1eff7;
    color: #5a8bb5;
    transform: translateY(-2px);
}

.subcategory-item.active {
    background: #d4e6f2;
    color: #2c5f8a;
    font-weight: 600;
}

/* ==================== نوار ابزار ==================== */
.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid #eef2f5;
    box-shadow: 0 2px 8px rgba(44, 95, 138, 0.03);
}

.results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #8aaec8;
}

.results-count i {
    color: #6b9fc2;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* دکمه فیلتر */
.btn-filter-main {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #f5f8fa;
    border: 1px solid #e0eaf0;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a8bb5;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-filter-main:hover {
    background: #e1eff7;
    border-color: #c5dae8;
    color: #2c5f8a;
}

.filter-active-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    background: #6b9fc2;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

/* مرتب‌سازی کشویی */
.sort-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.sort-select {
    padding: 8px 35px 8px 18px;
    border: 1px solid #e0eaf0;
    border-radius: 40px;
    background: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a8bb5;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
}

.sort-select:hover {
    border-color: #c5dae8;
    background: #fafcfd;
}

.sort-select:focus {
    outline: none;
    border-color: #8ab3d0;
}

.sort-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #aac4d4;
    pointer-events: none;
}

/* ==================== مودال فیلتر ==================== */
.filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.filter-modal.active {
    display: flex;
}

.filter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 95, 138, 0.15);
    backdrop-filter: blur(4px);
}

.filter-modal-content {
    position: relative;
    width: 90%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(44, 95, 138, 0.1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f5;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
}

.filter-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5f8a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-modal-header h3 i {
    color: #6b9fc2;
}

.filter-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f8fa;
    border: 1px solid #eef2f5;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8aaec8;
}

.filter-modal-close:hover {
    background: #e1eff7;
    color: #2c5f8a;
}

.filter-modal-body {
    padding: 0;
}

/* گروه‌های فیلتر در مودال */
.filter-group-modal {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f4f7;
}

.filter-group-modal:last-child {
    border-bottom: none;
}

.filter-label-modal {
    font-weight: 600;
    color: #5a8bb5;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* لیست برندها */
.brand-list-modal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.filter-radio-modal {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #8aaec8;
    transition: all 0.3s ease;
}

.filter-radio-modal:hover {
    color: #5a8bb5;
}

.filter-radio-modal input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6b9fc2;
}

/* محدوده قیمت */
.price-range-modal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-input-modal {
    flex: 1;
}

.price-field-modal {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0eaf0;
    border-radius: 12px;
    font-size: 0.9rem;
    background: #ffffff;
    color: #5a8bb5;
    transition: all 0.3s ease;
}

.price-field-modal:focus {
    outline: none;
    border-color: #8ab3d0;
    box-shadow: 0 0 0 2px rgba(107, 159, 194, 0.1);
}

.price-field-modal::placeholder {
    color: #bcd0e0;
}

.price-sep-modal {
    color: #aac4d4;
    font-size: 0.9rem;
}

/* دکمه‌های مودال */
.filter-actions-modal {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    background: #fafcfd;
    border-top: 1px solid #eef2f5;
    position: sticky;
    bottom: 0;
}

.btn-apply-filter {
    flex: 2;
    background: #6b9fc2;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply-filter:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
}

.btn-reset-filter {
    flex: 1;
    background: #f0f4f7;
    color: #8aaec8;
    border: 1px solid #e0eaf0;
    padding: 12px;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-reset-filter:hover {
    background: #e8eef2;
    color: #6b9fc2;
}

/* ==================== گرید محصولات ==================== */
.products-grid-category {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .products-grid-category {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid-category {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* کارت محصول */
.product-card-category {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(44, 95, 138, 0.05);
    border: 1px solid #eef2f5;
    display: flex;
    flex-direction: column;
}

.product-card-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 95, 138, 0.08);
    border-color: #d4e6f2;
}

.product-image-category {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #fafcfd;
}

.product-image-category img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-category:hover .product-image-category img {
    transform: scale(1.05);
}

.product-badge-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 2;
}

.product-actions-category {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.product-card-category:hover .product-actions-category {
    transform: translateY(0);
}

.action-btn-category {
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 20px;
    border: 1px solid #e0eaf0;
    background: #ffffff;
    color: #6b9fc2;
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.action-btn-category:hover {
    background: #e1eff7;
    color: #2c5f8a;
    border-color: #c5dae8;
}

.cart-btn-category {
    background: #6b9fc2;
    color: #ffffff;
    border-color: #6b9fc2;
}

.cart-btn-category:hover {
    background: #5a8bb5;
    color: #ffffff;
}

.product-info-category {
    padding: 12px;
    text-align: center;
    background: #ffffff;
    flex: 1;
}

.product-title-category {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 38px;
    color: #5a8bb5;
}

.product-old-price-category {
    font-size: 0.7rem;
    color: #bcd0e0;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.product-price-category {
    font-size: 1rem;
    font-weight: 800;
    color: #4a7ca5;
}

/* حالت خالی */
.empty-products-category {
    text-align: center;
    padding: 60px 20px;
    background: #fafcfd;
    border-radius: 20px;
    border: 1px solid #eef2f5;
    grid-column: 1 / -1;
}

.empty-products-category i {
    font-size: 4rem;
    color: #c5dae8;
    margin-bottom: 15px;
}

.empty-products-category h3 {
    font-size: 1.3rem;
    color: #8aaec8;
    margin-bottom: 10px;
}

.empty-products-category p {
    color: #aac4d4;
}

/* ==================== صفحه‌بندی ==================== */
.pagination-category {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link-category {
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #e0eaf0;
    border-radius: 30px;
    color: #6b9fc2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link-category:hover {
    background: #e1eff7;
    color: #2c5f8a;
    border-color: #c5dae8;
}

.page-numbers-category {
    display: flex;
    gap: 5px;
}

.page-number-category {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid #e0eaf0;
    border-radius: 10px;
    color: #6b9fc2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-number-category:hover {
    background: #e1eff7;
    border-color: #c5dae8;
    color: #2c5f8a;
}

.page-number-category.active {
    background: #d4e6f2;
    color: #2c5f8a;
    border-color: #c5dae8;
    font-weight: 600;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .category-toolbar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
    }
    
    .toolbar-actions {
        justify-content: space-between;
    }
    
    .btn-filter-main {
        flex: 1;
        justify-content: center;
    }
    
    .sort-wrapper {
        flex: 2;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .page-numbers-category {
        display: none;
    }
    
    .pagination-category {
        justify-content: space-between;
    }
}

/* اسکرول بار */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f4f7;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c5dae8;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aac4d4;
}
/* ==================== */
/* صفحه جزئیات تیکت - پشتیبانی */
/* رنگ‌بندی: سفید، آبی کم، خاکستری خیلی کم */
/* ==================== */

/* هدر صفحه */
.ticket-detail-header {
    background: linear-gradient(135deg, #d4e6f2 0%, #e1eff7 100%);
    padding: 35px 0;
    margin-bottom: 30px;
}

.ticket-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ticket-header-info h1 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 700;
    color: #2c5f8a;
    margin-bottom: 12px;
}

.ticket-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* نشان‌های وضعیت */
.badge-status {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-open {
    background: #d4e6f2;
    color: #2c5f8a;
}

.status-closed {
    background: #e8eef2;
    color: #8aaec8;
}

.status-pending {
    background: #e1eff7;
    color: #6b9fc2;
}

.badge-category {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #f5f8fa;
    color: #8aaec8;
}

.badge-priority {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

.priority-urgent {
    background: #f0e4e4;
    color: #c47a7a;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: #5a8bb5;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0eaf0;
}

.btn-back:hover {
    background: #ffffff;
    color: #2c5f8a;
    transform: translateY(-2px);
}

/* محتوای اصلی */
.ticket-detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* کارت اطلاعات تیکت */
.ticket-info-card {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(44, 95, 138, 0.03);
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.ticket-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 0.7rem;
    color: #aac4d4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.95rem;
    color: #5a8bb5;
    font-weight: 500;
}

/* ==================== پیام‌ها ==================== */
.message-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.message-item {
    display: flex;
    flex-direction: column;
}

.message-item.message-user {
    align-items: flex-start;
}

.message-item.message-admin {
    align-items: flex-end;
}

.message-bubble {
    max-width: 85%;
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(44, 95, 138, 0.05);
}

.message-item.message-user .message-bubble {
    background: #fafcfd;
    border-bottom-right-radius: 5px;
}

.message-item.message-admin .message-bubble {
    background: #e1eff7;
    border-bottom-left-radius: 5px;
    border-color: #c5dae8;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.message-header strong {
    font-size: 0.85rem;
    color: #5a8bb5;
}

.admin-badge {
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
}

.message-content {
    font-size: 0.9rem;
    color: #7a9cbb;
    line-height: 1.6;
}

.message-meta {
    font-size: 0.7rem;
    color: #bcd0e0;
    margin-top: 6px;
    padding: 0 10px;
}

/* حالت خالی پیام‌ها */
.empty-messages {
    text-align: center;
    padding: 50px 20px;
    background: #fafcfd;
    border-radius: 16px;
    border: 1px solid #eef2f5;
}

.empty-messages i {
    font-size: 3rem;
    color: #c5dae8;
    margin-bottom: 15px;
}

.empty-messages p {
    color: #aac4d4;
}

/* ==================== فرم پاسخ ==================== */
.reply-form-card {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 20px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 12px rgba(44, 95, 138, 0.05);
}

.reply-form-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c5f8a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reply-form-card h5 i {
    color: #6b9fc2;
}

.reply-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0eaf0;
    border-radius: 16px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #5a8bb5;
}

.reply-textarea:focus {
    outline: none;
    border-color: #8ab3d0;
    box-shadow: 0 0 0 2px rgba(107, 159, 194, 0.1);
}

.reply-textarea::placeholder {
    color: #bcd0e0;
}

.reply-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #6b9fc2;
    color: #ffffff;
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
}

.btn-close-ticket {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f8fa;
    color: #8aaec8;
    border: 1px solid #e0eaf0;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-close-ticket:hover {
    background: #e8eef2;
    color: #c47a7a;
    border-color: #d4c5c5;
}

/* هشدار بسته بودن تیکت */
.ticket-closed-alert {
    background: #fafcfd;
    border: 1px solid #eef2f5;
    border-radius: 16px;
    padding: 18px 24px;
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    color: #8aaec8;
}

.ticket-closed-alert i {
    font-size: 1rem;
    color: #c5dae8;
}

.alert-link {
    color: #6b9fc2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.alert-link:hover {
    color: #2c5f8a;
    text-decoration: underline;
}

/* ==================== ریسپانسیو ==================== */
@media (max-width: 768px) {
    .ticket-detail-header {
        padding: 25px 0;
    }
    
    .ticket-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ticket-header-action {
        width: 100%;
    }
    
    .btn-back {
        width: 100%;
        justify-content: center;
    }
    
    .ticket-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .message-bubble {
        max-width: 95%;
    }
    
    .reply-form-card {
        padding: 18px;
    }
    
    .reply-actions {
        flex-direction: column;
    }
    
    .btn-send,
    .btn-close-ticket {
        width: 100%;
        justify-content: center;
    }
    
    .ticket-closed-alert {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ticket-info-card {
        padding: 15px 18px;
    }
    
    .message-bubble {
        padding: 12px 15px;
    }
    
    .message-header strong {
        font-size: 0.8rem;
    }
    
    .message-content {
        font-size: 0.85rem;
    }
    
    .badge-status,
    .badge-category,
    .badge-priority {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}

/* انیمیشن برای پیام‌ها */
.message-item {
    animation: fadeInMessage 0.3s ease;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==================== */
/* پنل مدیریت تیکت‌ها - شبیه پیام‌رسان */
/* رنگ‌بندی: سفید، آبی کم، خاکستری خیلی کم */
/* ==================== */

.admin-ticket-container {
    padding: 20px;
    height: calc(100vh - 80px);
}

.admin-panel {
    display: flex;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 95, 138, 0.08);
    border: 1px solid #eef2f5;
}

/* ==================== سایدبار کاربران ==================== */
.users-sidebar {
    width: 340px;
    background: #ffffff;
    border-left: 1px solid #eef2f5;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #eef2f5;
    background: #ffffff;
}

.sidebar-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.sidebar-header-content i {
    font-size: 1.3rem;
    color: #6b9fc2;
}

.sidebar-header-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c5f8a;
    margin: 0;
    flex: 1;
}

.total-unread {
    background: #6b9fc2;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* جستجو */
.sidebar-search {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-search i {
    position: absolute;
    right: 12px;
    color: #bcd0e0;
    font-size: 0.8rem;
}

.search-input {
    width: 100%;
    padding: 10px 35px 10px 12px;
    border: 1px solid #e0eaf0;
    border-radius: 30px;
    font-size: 0.8rem;
    background: #fafcfd;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #8ab3d0;
    background: #ffffff;
}

/* لیست کاربران */
.users-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.user-item-link {
    text-decoration: none;
    display: block;
}

.user-item-link.active {
    background: #e1eff7;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-item:hover {
    background: #f5f8fa;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d4e6f2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5f8a;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.user-name span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a7ca5;
}

.unread-count {
    background: #6b9fc2;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.user-last-message {
    font-size: 0.75rem;
    color: #aac4d4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.user-time {
    font-size: 0.65rem;
    color: #c5dae8;
}

/* حالت خالی کاربران */
.empty-users {
    text-align: center;
    padding: 40px 20px;
    color: #c5dae8;
}

.empty-users i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.empty-users p {
    font-size: 0.85rem;
}

/* ==================== بخش چت ==================== */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fafcfd;
}

/* هدر چت */
.chat-header {
    padding: 18px 24px;
    background: #ffffff;
    border-bottom: 1px solid #eef2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #d4e6f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chat-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-user-avatar span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5f8a;
}

.chat-user-details h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #2c5f8a;
    margin: 0 0 5px 0;
}

.chat-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.ticket-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-open {
    background: #d4e6f2;
    color: #2c5f8a;
}

.status-closed {
    background: #e8eef2;
    color: #8aaec8;
}

.ticket-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    background: #f5f8fa;
    color: #8aaec8;
}

.ticket-title {
    font-size: 0.75rem;
    color: #aac4d4;
}

.close-ticket-btn {
    background: #f5f8fa;
    color: #c47a7a;
    border: 1px solid #e0eaf0;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-ticket-btn:hover {
    background: #f0e4e4;
    border-color: #d4c5c5;
}

/* ==================== پیام‌ها ==================== */
.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-item {
    display: flex;
}

.message-item.message-user {
    justify-content: flex-end;
}

.message-item.message-admin {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 65%;
    padding: 10px 16px;
    border-radius: 18px;
    position: relative;
}

.message-item.message-user .message-bubble {
    background: #d4e6f2;
    border-bottom-left-radius: 5px;
}

.message-item.message-admin .message-bubble {
    background: #ffffff;
    border: 1px solid #e0eaf0;
    border-bottom-right-radius: 5px;
}

.message-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #5a8bb5;
    word-wrap: break-word;
}

.message-item.message-user .message-text {
    color: #2c5f8a;
}

.message-time {
    font-size: 0.6rem;
    color: #aac4d4;
    margin-top: 5px;
    text-align: left;
}

.message-item.message-user .message-time {
    text-align: right;
}

/* حالت خالی چت */
.empty-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #c5dae8;
}

.empty-chat i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.empty-chat p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.empty-chat span {
    font-size: 0.75rem;
}

.empty-chat-selected {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #c5dae8;
}

.empty-chat-selected i {
    font-size: 5rem;
    margin-bottom: 20px;
}

.empty-chat-selected h4 {
    font-size: 1.1rem;
    color: #8aaec8;
    margin-bottom: 8px;
}

.empty-chat-selected p {
    font-size: 0.85rem;
}

/* ==================== ورودی پیام ==================== */
.chat-input {
    padding: 16px 24px;
    background: #ffffff;
    border-top: 1px solid #eef2f5;
}

.input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: #fafcfd;
    border: 1px solid #e0eaf0;
    border-radius: 30px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #8ab3d0;
    box-shadow: 0 0 0 2px rgba(107, 159, 194, 0.1);
}

.chat-input textarea {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 0.85rem;
    resize: none;
    font-family: inherit;
    color: #5a8bb5;
}

.chat-input textarea:focus {
    outline: none;
}

.chat-input textarea::placeholder {
    color: #bcd0e0;
}

.send-btn {
    background: #6b9fc2;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.send-btn:hover {
    background: #5a8bb5;
    transform: scale(1.05);
}

.chat-closed {
    padding: 16px 24px;
    background: #fafcfd;
    border-top: 1px solid #eef2f5;
    text-align: center;
    color: #aac4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-closed i {
    font-size: 0.9rem;
}

/* ==================== اسکرول بار ==================== */
.users-list::-webkit-scrollbar,
.messages-container::-webkit-scrollbar {
    width: 5px;
}

.users-list::-webkit-scrollbar-track,
.messages-container::-webkit-scrollbar-track {
    background: #f0f4f7;
}

.users-list::-webkit-scrollbar-thumb,
.messages-container::-webkit-scrollbar-thumb {
    background: #c5dae8;
    border-radius: 10px;
}

.users-list::-webkit-scrollbar-thumb:hover,
.messages-container::-webkit-scrollbar-thumb:hover {
    background: #aac4d4;
}

/* ==================== ریسپانسیو ==================== */
@media (max-width: 768px) {
    .admin-ticket-container {
        padding: 10px;
        height: calc(100vh - 100px);
    }
    
    .users-sidebar {
        width: 280px;
    }
    
    .message-bubble {
        max-width: 85%;
    }
    
    .chat-header {
        padding: 12px 16px;
    }
    
    .messages-container {
        padding: 15px;
    }
    
    .chat-input {
        padding: 12px 16px;
    }
    
    .chat-user-details h3 {
        font-size: 0.9rem;
    }
    
    .ticket-title {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .admin-panel {
        flex-direction: column;
    }
    
    .users-sidebar {
        width: 100%;
        height: 35%;
        border-left: none;
        border-bottom: 1px solid #eef2f5;
    }
    
    .chat-area {
        height: 65%;
    }
    
    .user-item {
        padding: 10px 16px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .message-bubble {
        max-width: 95%;
    }
    
    .chat-user-avatar {
        width: 40px;
        height: 40px;
    }
}
/* ==================== */
/* صفحه لیست علاقه‌مندی‌ها */
/* رنگ‌بندی: سفید، آبی کم، خاکستری خیلی کم */
/* ==================== */

.wishlist-container {
    padding: 40px 0;
    min-height: calc(100vh - 300px);
    background: #fafcfd;
}

/* ==================== هدر صفحه ==================== */
.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eef2f5;
}

.wishlist-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wishlist-title i {
    font-size: 1.8rem;
    color: #6b9fc2;
}

.wishlist-title h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c5f8a;
    margin: 0;
}

.total-badge {
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* دکمه‌های هدر */
.wishlist-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-move-all,
.btn-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-move-all {
    background: #6b9fc2;
    color: #ffffff;
    border: none;
}

.btn-move-all:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 159, 194, 0.3);
}

.btn-clear-all {
    background: #f5f8fa;
    color: #c47a7a;
    border: 1px solid #e0eaf0;
}

.btn-clear-all:hover {
    background: #f0e4e4;
    border-color: #d4c5c5;
    transform: translateY(-2px);
}

/* ==================== گرید محصولات ==================== */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== کارت محصول ==================== */
.wishlist-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(44, 95, 138, 0.05);
    border: 1px solid #eef2f5;
    display: flex;
    flex-direction: column;
}

.wishlist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(44, 95, 138, 0.1);
    border-color: #d4e6f2;
}

/* دکمه حذف (قلب) */
.remove-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e0eaf0;
    color: #c47a7a;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 0.9rem;
}

.remove-btn:hover {
    background: #f0e4e4;
    border-color: #d4c5c5;
    transform: scale(1.1);
}

/* تصویر محصول */
.product-image-link {
    display: block;
    text-decoration: none;
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #fafcfd;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wishlist-card:hover .product-image img {
    transform: scale(1.05);
}

.no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8fa;
    color: #c5dae8;
}

.no-image i {
    font-size: 3rem;
}

/* اطلاعات محصول */
.product-info {
    padding: 16px;
    flex: 1;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.product-title a {
    text-decoration: none;
    color: #4a7ca5;
    transition: all 0.3s ease;
}

.product-title a:hover {
    color: #2c5f8a;
}

.product-category {
    font-size: 0.7rem;
    color: #aac4d4;
    margin: 0 0 12px 0;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.old-price {
    font-size: 0.75rem;
    color: #bcd0e0;
    text-decoration: line-through;
}

.discount-badge {
    display: inline-block;
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 8px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #5a8bb5;
}

/* دکمه‌های اقدام */
.product-actions {
    padding: 12px 16px 16px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #eef2f5;
    background: #ffffff;
}

.action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cart-btn {
    background: #6b9fc2;
    color: #ffffff;
    border: none;
}

.cart-btn:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
}

.move-btn {
    background: #f5f8fa;
    color: #5a8bb5;
    border: 1px solid #e0eaf0;
}

.move-btn:hover {
    background: #e1eff7;
    border-color: #c5dae8;
    transform: translateY(-2px);
}

/* ==================== حالت خالی ==================== */
.empty-wishlist {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eef2f5;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: #f5f8fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-icon i {
    font-size: 3rem;
    color: #c5dae8;
}

.empty-wishlist h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c5f8a;
    margin-bottom: 10px;
}

.empty-wishlist p {
    color: #aac4d4;
    margin-bottom: 20px;
}

.empty-wishlist p i {
    color: #6b9fc2;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #6b9fc2;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 159, 194, 0.3);
}

/* ==================== انیمیشن‌ها ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wishlist-card {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.wishlist-card:nth-child(1) { animation-delay: 0.05s; }
.wishlist-card:nth-child(2) { animation-delay: 0.1s; }
.wishlist-card:nth-child(3) { animation-delay: 0.15s; }
.wishlist-card:nth-child(4) { animation-delay: 0.2s; }
.wishlist-card:nth-child(5) { animation-delay: 0.25s; }
.wishlist-card:nth-child(6) { animation-delay: 0.3s; }

/* ==================== ریسپانسیو ==================== */
@media (max-width: 768px) {
    .wishlist-container {
        padding: 25px 0;
    }
    
    .wishlist-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wishlist-title i {
        font-size: 1.4rem;
    }
    
    .wishlist-title h1 {
        font-size: 1.3rem;
    }
    
    .wishlist-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-move-all,
    .btn-clear-all {
        width: 100%;
        justify-content: center;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
    }
    
    .empty-wishlist {
        padding: 40px 20px;
    }
    
    .empty-icon {
        width: 80px;
        height: 80px;
    }
    
    .empty-icon i {
        font-size: 2.5rem;
    }
    
    .empty-wishlist h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 0.85rem;
    }
    
    .current-price {
        font-size: 1rem;
    }
    
    .action-btn span {
        display: none;
    }
    
    .action-btn {
        padding: 10px;
    }
    
    .action-btn i {
        font-size: 1rem;
        margin: 0;
    }
}
/* ==================== */
/* صفحه سبد خرید */
/* رنگ‌بندی: سفید، آبی کم، خاکستری خیلی کم */
/* ==================== */

.cart-container {
    padding: 40px 0;
    min-height: calc(100vh - 300px);
    background: #fafcfd;
}

/* ==================== هدر صفحه ==================== */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eef2f5;
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-title i {
    font-size: 1.8rem;
    color: #6b9fc2;
}

.cart-title h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c5f8a;
    margin: 0;
}

.items-count {
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-clear-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    background: #f5f8fa;
    color: #c47a7a;
    border: 1px solid #e0eaf0;
    transition: all 0.3s ease;
}

.btn-clear-cart:hover {
    background: #f0e4e4;
    border-color: #d4c5c5;
    transform: translateY(-2px);
}

/* ==================== محتوای اصلی ==================== */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
}

@media (max-width: 992px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== لیست محصولات ==================== */
.cart-items {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f5;
    overflow: hidden;
}

.cart-items-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 50px;
    background: #f5f8fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eef2f5;
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a8bb5;
}

@media (max-width: 768px) {
    .cart-items-header {
        display: none;
    }
}

/* آیتم سبد خرید */
.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 50px;
    padding: 20px;
    border-bottom: 1px solid #eef2f5;
    align-items: center;
    transition: all 0.3s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: #fafcfd;
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
}

/* بخش محصول */
.cart-item-product {
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #fafcfd;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8fa;
    color: #c5dae8;
}

.no-image i {
    font-size: 1.5rem;
}

.product-details {
    flex: 1;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.product-title a {
    text-decoration: none;
    color: #4a7ca5;
    transition: all 0.3s ease;
}

.product-title a:hover {
    color: #2c5f8a;
}

.product-category {
    font-size: 0.7rem;
    color: #aac4d4;
    margin: 0;
}

.product-discount {
    display: inline-block;
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-top: 5px;
}

/* قیمت */
.cart-item-price {
    font-size: 0.9rem;
    color: #5a8bb5;
}

.price-label {
    display: none;
    font-size: 0.75rem;
    color: #aac4d4;
}

.old-price-mobile {
    display: none;
    font-size: 0.7rem;
    color: #bcd0e0;
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .cart-item-price {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .price-label {
        display: inline;
    }
    
    .old-price-mobile {
        display: inline;
    }
}

/* تعداد */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.quantity-label {
    display: none;
    font-size: 0.75rem;
    color: #aac4d4;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fafcfd;
    border: 1px solid #e0eaf0;
    border-radius: 30px;
    padding: 3px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #6b9fc2;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #e1eff7;
    color: #2c5f8a;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5a8bb5;
}

.quantity-input:focus {
    outline: none;
}

.update-qty-btn {
    background: #f5f8fa;
    border: 1px solid #e0eaf0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #8aaec8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.update-qty-btn:hover {
    background: #e1eff7;
    color: #5a8bb5;
}

@media (max-width: 768px) {
    .quantity-label {
        display: inline;
    }
    
    .cart-item-quantity {
        justify-content: space-between;
    }
}

/* جمع */
.cart-item-total {
    font-size: 1rem;
    font-weight: 700;
    color: #2c5f8a;
}

.total-label {
    display: none;
    font-size: 0.75rem;
    font-weight: normal;
    color: #aac4d4;
}

@media (max-width: 768px) {
    .cart-item-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .total-label {
        display: inline;
    }
}

/* دکمه حذف */
.cart-item-action {
    text-align: center;
}

.remove-btn {
    background: transparent;
    border: none;
    color: #c47a7a;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 8px;
}

.remove-btn:hover {
    color: #b55a5a;
    transform: scale(1.1);
}

/* ==================== سایدبار ==================== */
.cart-summary {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f5;
    padding: 24px;
    margin-bottom: 20px;
}

.cart-summary h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c5f8a;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef2f5;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #8aaec8;
}

.summary-row strong {
    color: #2c5f8a;
    font-weight: 700;
}

.total-price {
    font-size: 1.2rem;
    color: #2c5f8a !important;
}

.summary-divider {
    height: 1px;
    background: #eef2f5;
    margin: 15px 0;
}

.coupon-applied {
    background: #d4e6f2;
    border-radius: 12px;
    padding: 12px;
    margin: 15px 0;
    font-size: 0.8rem;
}

.coupon-applied i {
    color: #6b9fc2;
}

.remove-coupon {
    float: left;
    color: #c47a7a;
    text-decoration: none;
    font-size: 0.7rem;
}

.coupon-discount {
    margin-top: 8px;
    color: #2c5f8a;
    font-weight: 600;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: #6b9fc2;
    color: #ffffff;
    text-align: center;
    padding: 14px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 159, 194, 0.3);
}

/* ==================== بخش کد تخفیف ==================== */
.coupon-section {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f5;
    padding: 24px;
}

.coupon-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #5a8bb5;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-section h3 i {
    color: #6b9fc2;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
}

.coupon-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0eaf0;
    border-radius: 40px;
    font-size: 0.85rem;
    background: #fafcfd;
    transition: all 0.3s ease;
}

.coupon-input:focus {
    outline: none;
    border-color: #8ab3d0;
    background: #ffffff;
}

.coupon-btn {
    background: #f5f8fa;
    border: 1px solid #e0eaf0;
    padding: 0 24px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b9fc2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-btn:hover {
    background: #e1eff7;
    color: #2c5f8a;
}

.coupon-message {
    margin-top: 12px;
    font-size: 0.8rem;
}

.coupon-message .success {
    color: #6b9fc2;
    background: #d4e6f2;
    padding: 8px 12px;
    border-radius: 10px;
}

.coupon-message .error {
    color: #c47a7a;
    background: #f0e4e4;
    padding: 8px 12px;
    border-radius: 10px;
}

/* ==================== حالت خالی ==================== */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eef2f5;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: #f5f8fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-icon i {
    font-size: 3rem;
    color: #c5dae8;
}

.empty-cart h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c5f8a;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #aac4d4;
    margin-bottom: 25px;
}

.empty-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-shop,
.btn-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-shop {
    background: #6b9fc2;
    color: #ffffff;
}

.btn-shop:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
}

.btn-wishlist {
    background: #f5f8fa;
    color: #8aaec8;
    border: 1px solid #e0eaf0;
}

.btn-wishlist:hover {
    background: #e1eff7;
    transform: translateY(-2px);
}

/* ==================== ریسپانسیو ==================== */
@media (max-width: 768px) {
    .cart-container {
        padding: 25px 0;
    }
    
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-title i {
        font-size: 1.4rem;
    }
    
    .cart-title h1 {
        font-size: 1.3rem;
    }
    
    .btn-clear-cart {
        width: 100%;
        justify-content: center;
    }
    
    .cart-summary,
    .coupon-section {
        padding: 18px;
    }
    
    .empty-icon {
        width: 80px;
        height: 80px;
    }
    
    .empty-icon i {
        font-size: 2.5rem;
    }
    
    .empty-cart h3 {
        font-size: 1.1rem;
    }
    
    .empty-actions {
        flex-direction: column;
    }
    
    .btn-shop,
    .btn-wishlist {
        justify-content: center;
    }
}
/* ==================== */
/* صفحه برچسب وبلاگ */
/* رنگ‌بندی: سفید، آبی کم، خاکستری خیلی کم */
/* ==================== */

.tag-container {
    padding: 50px 0;
    min-height: calc(100vh - 300px);
    background: #fafcfd;
}

/* ==================== هدر برچسب ==================== */
.tag-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 45px;
    padding: 30px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eef2f5;
    box-shadow: 0 2px 12px rgba(44, 95, 138, 0.05);
}

.tag-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4e6f2 0%, #e1eff7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-icon i {
    font-size: 2.5rem;
    color: #6b9fc2;
}

.tag-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5f8a;
    margin: 0 0 8px 0;
}

.tag-info p {
    color: #8aaec8;
    margin: 0 0 10px 0;
}

.tag-info p strong {
    color: #6b9fc2;
}

.post-count {
    display: inline-block;
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .tag-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .tag-info h1 {
        font-size: 1.4rem;
    }
}

/* ==================== گرید مطالب ==================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ==================== کارت مطلب ==================== */
.post-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eef2f5;
    box-shadow: 0 2px 12px rgba(44, 95, 138, 0.05);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(44, 95, 138, 0.1);
    border-color: #d4e6f2;
}

/* تصویر */
.post-image-link {
    display: block;
    text-decoration: none;
}

.post-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f8fa;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 95, 138, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-overlay i {
    font-size: 2rem;
    color: #ffffff;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.post-card:hover .image-overlay {
    opacity: 1;
}

.post-card:hover .image-overlay i {
    transform: translateX(0);
}

/* حالت بدون تصویر */
.no-image {
    background: linear-gradient(135deg, #e1eff7 0%, #d4e6f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image-content {
    text-align: center;
    color: #8aaec8;
}

.no-image-content i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.no-image-content span {
    font-size: 0.85rem;
}

/* محتوای مطلب */
.post-content {
    padding: 20px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: #aac4d4;
}

.post-meta i {
    margin-left: 5px;
    font-size: 0.7rem;
}

.post-date,
.post-author {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.post-title a {
    text-decoration: none;
    color: #2c5f8a;
    transition: all 0.3s ease;
}

.post-title a:hover {
    color: #6b9fc2;
}

.post-excerpt {
    font-size: 0.85rem;
    color: #8aaec8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eef2f5;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f8fa;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b9fc2;
    transition: all 0.3s ease;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    background: #e1eff7;
    color: #2c5f8a;
}

.read-more-btn:hover i {
    transform: translateX(-5px);
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.7rem;
}

.post-tags i {
    color: #aac4d4;
}

.tag-link {
    background: #f5f8fa;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    color: #8aaec8;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #e1eff7;
    color: #2c5f8a;
}

/* ==================== حالت خالی ==================== */
.empty-tag {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eef2f5;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: #f5f8fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-icon i {
    font-size: 3rem;
    color: #c5dae8;
}

.empty-tag h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c5f8a;
    margin-bottom: 10px;
}

.empty-tag p {
    color: #aac4d4;
    margin-bottom: 25px;
}

.empty-tag p a {
    color: #6b9fc2;
    text-decoration: none;
}

.empty-tag p a:hover {
    text-decoration: underline;
}

.btn-back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #6b9fc2;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-to-blog:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 159, 194, 0.3);
}

/* ==================== صفحه‌بندی ==================== */
.pagination-container {
    margin-top: 40px;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #e0eaf0;
    border-radius: 30px;
    color: #6b9fc2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-link:hover {
    background: #e1eff7;
    color: #2c5f8a;
    border-color: #c5dae8;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid #e0eaf0;
    border-radius: 10px;
    color: #6b9fc2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: #e1eff7;
    border-color: #c5dae8;
    color: #2c5f8a;
}

.page-number.active {
    background: #d4e6f2;
    color: #2c5f8a;
    border-color: #c5dae8;
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-numbers {
        display: none;
    }
    
    .pagination {
        justify-content: space-between;
        width: 100%;
    }
}

/* ==================== انیمیشن‌ها ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.post-card:nth-child(1) { animation-delay: 0.05s; }
.post-card:nth-child(2) { animation-delay: 0.1s; }
.post-card:nth-child(3) { animation-delay: 0.15s; }
.post-card:nth-child(4) { animation-delay: 0.2s; }
.post-card:nth-child(5) { animation-delay: 0.25s; }
.post-card:nth-child(6) { animation-delay: 0.3s; }

/* ==================== ریسپانسیو ==================== */
@media (max-width: 480px) {
    .tag-container {
        padding: 30px 0;
    }
    
    .tag-header {
        padding: 20px 15px;
    }
    
    .tag-icon {
        width: 60px;
        height: 60px;
    }
    
    .tag-icon i {
        font-size: 1.8rem;
    }
    
    .tag-info h1 {
        font-size: 1.2rem;
    }
    
    .tag-info p {
        font-size: 0.85rem;
    }
    
    .post-content {
        padding: 16px;
    }
    
    .post-title {
        font-size: 1rem;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .read-more-btn {
        width: 100%;
        justify-content: center;
    }
    
    .empty-icon {
        width: 70px;
        height: 70px;
    }
    
    .empty-icon i {
        font-size: 2.2rem;
    }
    
    .empty-tag h3 {
        font-size: 1.1rem;
    }
}
/* ==================== */
/* صفحه برچسب وبلاگ */
/* رنگ‌بندی: سفید، آبی کم، خاکستری خیلی کم */
/* ==================== */

.tag-container {
    padding: 50px 0;
    min-height: calc(100vh - 300px);
    background: #fafcfd;
}

/* ==================== هدر برچسب ==================== */
.tag-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 45px;
    padding: 30px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eef2f5;
    box-shadow: 0 2px 12px rgba(44, 95, 138, 0.05);
}

.tag-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4e6f2 0%, #e1eff7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-icon i {
    font-size: 2.5rem;
    color: #6b9fc2;
}

.tag-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5f8a;
    margin: 0 0 8px 0;
}

.tag-info p {
    color: #8aaec8;
    margin: 0 0 10px 0;
}

.tag-info p strong {
    color: #6b9fc2;
}

.post-count {
    display: inline-block;
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .tag-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .tag-info h1 {
        font-size: 1.4rem;
    }
}

/* ==================== گرید مطالب ==================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ==================== کارت مطلب ==================== */
.post-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eef2f5;
    box-shadow: 0 2px 12px rgba(44, 95, 138, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(44, 95, 138, 0.1);
    border-color: #d4e6f2;
}

/* تصویر */
.post-image-link {
    display: block;
    text-decoration: none;
}

.post-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f8fa;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 95, 138, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-overlay i {
    font-size: 2rem;
    color: #ffffff;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.post-card:hover .image-overlay {
    opacity: 1;
}

.post-card:hover .image-overlay i {
    transform: translateX(0);
}

/* حالت بدون تصویر */
.no-image {
    background: linear-gradient(135deg, #e1eff7 0%, #d4e6f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image-content {
    text-align: center;
    color: #8aaec8;
}

.no-image-content i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.no-image-content span {
    font-size: 0.85rem;
}

/* محتوای مطلب */
.post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: #aac4d4;
}

.post-meta i {
    margin-left: 5px;
    font-size: 0.7rem;
}

.post-date,
.post-author {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.post-title a {
    text-decoration: none;
    color: #2c5f8a;
    transition: all 0.3s ease;
}

.post-title a:hover {
    color: #6b9fc2;
}

.post-excerpt {
    font-size: 0.85rem;
    color: #8aaec8;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eef2f5;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f8fa;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b9fc2;
    transition: all 0.3s ease;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    background: #e1eff7;
    color: #2c5f8a;
}

.read-more-btn:hover i {
    transform: translateX(-5px);
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.7rem;
}

.post-tags i {
    color: #aac4d4;
}

.tag-link {
    background: #f5f8fa;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    color: #8aaec8;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #e1eff7;
    color: #2c5f8a;
}

/* ==================== حالت خالی ==================== */
.empty-tag {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eef2f5;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: #f5f8fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-icon i {
    font-size: 3rem;
    color: #c5dae8;
}

.empty-tag h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c5f8a;
    margin-bottom: 10px;
}

.empty-tag p {
    color: #aac4d4;
    margin-bottom: 25px;
}

.empty-tag p a {
    color: #6b9fc2;
    text-decoration: none;
}

.empty-tag p a:hover {
    text-decoration: underline;
}

.btn-back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #6b9fc2;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-to-blog:hover {
    background: #5a8bb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 159, 194, 0.3);
}

/* ==================== صفحه‌بندی ==================== */
.pagination-container {
    margin-top: 40px;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #e0eaf0;
    border-radius: 30px;
    color: #6b9fc2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-link:hover {
    background: #e1eff7;
    color: #2c5f8a;
    border-color: #c5dae8;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid #e0eaf0;
    border-radius: 10px;
    color: #6b9fc2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: #e1eff7;
    border-color: #c5dae8;
    color: #2c5f8a;
}

.page-number.active {
    background: #d4e6f2;
    color: #2c5f8a;
    border-color: #c5dae8;
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-numbers {
        display: none;
    }
    
    .pagination {
        justify-content: space-between;
        width: 100%;
    }
}

/* ==================== انیمیشن‌ها ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.post-card:nth-child(1) { animation-delay: 0.05s; }
.post-card:nth-child(2) { animation-delay: 0.1s; }
.post-card:nth-child(3) { animation-delay: 0.15s; }
.post-card:nth-child(4) { animation-delay: 0.2s; }
.post-card:nth-child(5) { animation-delay: 0.25s; }
.post-card:nth-child(6) { animation-delay: 0.3s; }

/* ==================== ریسپانسیو ==================== */
@media (max-width: 480px) {
    .tag-container {
        padding: 30px 0;
    }
    
    .tag-header {
        padding: 20px 15px;
    }
    
    .tag-icon {
        width: 60px;
        height: 60px;
    }
    
    .tag-icon i {
        font-size: 1.8rem;
    }
    
    .tag-info h1 {
        font-size: 1.2rem;
    }
    
    .tag-info p {
        font-size: 0.85rem;
    }
    
    .post-content {
        padding: 16px;
    }
    
    .post-title {
        font-size: 1rem;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .read-more-btn {
        width: 100%;
        justify-content: center;
    }
    
    .empty-icon {
        width: 70px;
        height: 70px;
    }
    
    .empty-icon i {
        font-size: 2.2rem;
    }
    
    .empty-tag h3 {
        font-size: 1.1rem;
    }
}
.product-image-list {
    position: relative;
    width: 100%;
    padding-top: 100%; /* این باعث می‌شود تصویر مربعی شود */
    overflow: hidden;
    background: #fafcfd;
}

.product-image-list img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* این باعث برش تصویر می‌شود */
}
/* ==================== تنظیمات نهایی تصاویر سبد خرید ==================== */

/* آیتم سبد خرید - تنظیم مجدد */
.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    padding: 20px;
    border-bottom: 1px solid #eef2f5;
    align-items: center;
    gap: 15px;
}

/* بخش محصول */
.cart-item-product {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* محفظه تصویر */
.cart-item .product-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #fafcfd;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef2f5;
}

/* تصویر */
.cart-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: #ffffff;
    padding: 6px;
}

/* هاور روی تصویر */
.cart-item:hover .product-image img {
    transform: scale(1.08);
}

/* بدون تصویر */
.cart-item .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8fa;
    color: #c5dae8;
}

.cart-item .no-image i {
    font-size: 1.6rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .cart-item-product {
        gap: 12px;
    }
    
    .cart-item .product-image {
        width: 70px;
        height: 70px;
    }
    
    .cart-item .product-image img {
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .cart-item .product-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-item .no-image i {
        font-size: 1.3rem;
    }
}
/* ==================== رفع مشکل تصاویر در صفحه اصلی ==================== */

/* تنظیمات برای تصاویر محصولات در بخش تخفیف و محصولات پرفروش */
.product-card .product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fafcfd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    background: #ffffff;
    padding: 15px;
}

/* هاور روی تصویر */
.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* بدون تصویر */
.product-card .product-image > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8fa;
    color: #c5dae8;
    font-size: 0.85rem;
}

/* نشان تخفیف */
.product-card .product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.product-card .discount-badge {
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* دکمه‌های روی تصویر */
.product-card .product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.product-card .product-actions .btn {
    padding: 6px 12px;
    font-size: 0.7rem;
    border-radius: 30px;
    border: 1px solid #e0eaf0;
    background: #ffffff;
    color: #6b9fc2;
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.product-card .product-actions .btn:hover {
    background: #e1eff7;
    color: #2c5f8a;
    border-color: #c5dae8;
}

.product-card .product-actions .btn-primary-custom {
    background: #6b9fc2;
    color: #ffffff;
    border-color: #6b9fc2;
}

.product-card .product-actions .btn-primary-custom:hover {
    background: #5a8bb5;
}

/* اطلاعات محصول */
.product-card .product-info {
    padding: 12px;
    text-align: center;
    background: #ffffff;
}

.product-card .product-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.product-card .product-title a {
    text-decoration: none;
    color: #4a7ca5;
    transition: all 0.3s ease;
}

.product-card .product-title a:hover {
    color: #2c5f8a;
}

.product-card .product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-card .current-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #4a7ca5;
}

.product-card .old-price {
    font-size: 0.7rem;
    color: #bcd0e0;
    text-decoration: line-through;
}

.product-card .discount-percent {
    background: #d4e6f2;
    color: #2c5f8a;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .product-card .product-image img {
        padding: 10px;
    }
    
    .product-card .product-actions .btn span {
        display: none;
    }
    
    .product-card .product-actions .btn {
        padding: 8px;
    }
    
    .product-card .product-actions .btn i {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .product-card .product-image img {
        padding: 8px;
    }
}
/* استایل اسلایدر */
.hero-slider {
    position: relative;
    margin-bottom: 50px;
}

.mainSwiper {
    width: 100%;
    height: 85vh;
    min-height: 550px;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide-content {
    color: white;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.slide-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Swiper استایل‌ها */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

@media (max-width: 768px) {
    .mainSwiper {
        height: 50vh;
        min-height: 400px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-subtitle {
        font-size: 14px;
    }
}
/* ========== بخش تخفیف شگفت‌انگیز ========== */
.flash-sale {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-radius: 24px;
    padding: 40px 0;
    margin: 50px 0;
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.flash-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flash-title i {
    font-size: 32px;
    color: #dc3545;
    animation: pulse 1.5s infinite;
}

.flash-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: #dc3545;
    margin: 0;
}

.countdown {
    background: #1a1a1a;
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
}

.countdown span {
    background: #333;
    padding: 5px 12px;
    border-radius: 8px;
    margin: 0 3px;
    font-weight: 700;
    font-size: 18px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== بخش بنرهای تبلیغاتی ========== */
.promo-banners {
    margin: 50px 0;
}

.promo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover img {
    transform: scale(1.05);
}

.promo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.promo-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-overlay .btn-outline-light {
    border: 1px solid white;
    background: transparent;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.promo-overlay .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* ========== بخش محصولات ========== */
.products-section {
    margin: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.btn-view-all {
    text-align: center;
    margin-top: 40px;
}

/* ========== دکمه‌ها ========== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
    color: white;
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background: var(--primary-color);
    color: white;
}

/* ========== کارت محصولات ========== */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.product-badge span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    background: #dc3545;
    color: white;
}

.product-image {
    height: 260px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    right: 0;
    left: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-actions .btn {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 30px;
}

.product-info {
    padding: 16px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    height: 42px;
    overflow: hidden;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

.old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.discount-percent {
    font-size: 11px;
    background: #ffebee;
    color: #dc3545;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

/* ========== پاسخگو ========== */
@media (max-width: 768px) {
    .flash-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .promo-card {
        height: 200px;
        margin-bottom: 15px;
    }
    
    .promo-overlay h3 {
        font-size: 18px;
    }
    
    .countdown span {
        font-size: 14px;
        padding: 3px 8px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 15px;
    }
    
    .btn-primary-custom {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* ========== هدر اصلی ========== */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.hero-content {
    color: white;
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
}