 /* استایل‌های سفارشی برای بهبود ظاهر */
    .product-card {
        border: none;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        overflow: hidden;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    }
    
    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .product-image-container {
        height: 220px;
        overflow: hidden;
        position: relative;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .product-image-container img {
        max-height: 180px;
        width: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
    }
    
    .product-card:hover .product-image-container img {
        transform: scale(1.05);
    }
    
    .card-body {
        padding: 20px;
        text-align: right;
        direction: rtl;
    }
    
    .card-title {
        font-weight: 700;
        color: #2c3e50;
        font-size: 1rem;
        line-height: 1.6;
        height: 50px;
        overflow: hidden;
        display: -webkit-box;
        /* -webkit-line-clamp: 2; */
        -webkit-box-orient: vertical;
        margin-bottom: 15px;
    }
    
    .price-container {
        margin: 15px 0;
    }
    
    .original-price {
        text-decoration: line-through;
        color: #95a5a6 !important;
        font-size: 0.85rem;
        display: block;
        margin-bottom: 5px;
    }
    
    .discount-price {
        color: #e74c3c;
        font-weight: 800;
        font-size: 1.2rem;
        display: block;
    }
    
    .normal-price {
        color: #2c3e50;
        font-weight: 800;
        font-size: 1.2rem;
        display: block;
    }
    
    /* استایل‌های جدید برای لیبل‌ها */
    .discount-label {
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        color: white;
        padding: 8px 12px;
        border-radius: 25px;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
        z-index: 10;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .out-of-stock-label {
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, #95a5a6, #7f8c8d);
        color: white;
        padding: 8px 12px;
        border-radius: 25px;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
        z-index: 10;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .warranty-badge {
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .category-badge {
        background: linear-gradient(135deg, #9b59b6, #8e44ad);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #27ae60, #229954);
        border: none;
        border-radius: 12px;
        padding: 12px 20px;
        font-weight: 700;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        margin-top: 10px;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
        background: linear-gradient(135deg, #229954, #1e8449);
    }
    
    .btn-secondary {
        background: linear-gradient(135deg, #95a5a6, #7f8c8d);
        border: none;
        border-radius: 12px;
        padding: 12px 20px;
        font-weight: 700;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        margin-top: 10px;
    }
    
    .btn-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(149, 165, 166, 0.4);
    }
    
    /* بهبود استایل‌های بخش جستجو و فیلتر */
    .search-filter-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 2rem;
        gap: 1rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 25px;
        border-radius: 15px;
        margin: 30px 0;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    }
    
    /* باکس جستجو */
    .search-box {
        flex: 1;
        min-width: 300px;
        max-width: 500px;
    }
    
    .search-box .input-group {
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 10px;
        overflow: hidden;
    }
    
    .search-box .form-control {
        border: 1px solid #dee2e6;
        border-left: none;
        padding: 0.75rem 1rem;
        font-family: 'Vazirmatn', sans-serif;
    }
    
    .search-box .form-control:focus {
        border-color: #4361ee;
        box-shadow: none;
    }
    
    .search-box .input-group-append .btn {
        border: 1px solid #4361ee;
        background-color: #4361ee;
        color: white;
        padding: 0.75rem 1.5rem;
        transition: all 0.3s ease;
        font-family: 'Vazirmatn', sans-serif;
    }
    
    .search-box .input-group-append .btn:hover {
        background-color: #3a0ca3;
        border-color: #3a0ca3;
    }
    
    /* باکس فیلتر */
    .filter-box {
        flex: 0 0 auto;
        background-color: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        min-width: 350px;
        max-width: 400px;
    }
    
    .filter-form {
        display: flex;
        flex-direction: column;
    }
    
    .filter-group {
        margin-bottom: 1rem;
    }
    
    .filter-group .form-control-sm {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        font-family: 'Vazirmatn', sans-serif;
        text-align: right;
    }
    
    .filter-group .form-control-sm:focus {
        border-color: #4361ee;
        box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
    }
    
    .filter-box .btn {
        border-radius: 8px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.5rem;
        font-family: 'Vazirmatn', sans-serif;
        background: linear-gradient(135deg, #27ae60, #229954);
        border: none;
        color: white;
        font-weight: 600;
    }
    
    .filter-box .btn:hover {
        background: linear-gradient(135deg, #229954, #1e8449);
        transform: translateY(-2px);
    }
    
    .page-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 30px;
        border-radius: 15px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .page-header h2 {
        font-weight: 800;
        margin-bottom: 10px;
    }
    
    .page-header p {
        font-size: 1.1rem;
        opacity: 0.9;
    }

    /* ریسپانسیو */
    @media (max-width: 768px) {
        .search-filter-wrapper {
            flex-direction: column-reverse;
        }
        
        .search-box,
        .filter-box {
            min-width: 100%;
            max-width: 100%;
        }
        
        .filter-box {
            max-width: 100%;
        }
    }