/* استایل‌های محصولات پیشنهادی */

.suggested-products-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.suggested-products-section h3 {
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.suggested-products-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 2px;
}

.suggested-products-section .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.suggested-products-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.suggested-products-section .card-img-top {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.suggested-products-section .card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.suggested-products-section .card:hover .card-img-top img {
    transform: scale(1.05);
}

.suggested-products-section .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.suggested-products-section .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.suggested-products-section .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.suggested-products-section .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 15px;
}

.suggested-products-section .price del {
    color: #6c757d;
    font-weight: normal;
    margin-left: 8px;
}

.suggested-products-section .btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.suggested-products-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

/* استایل‌های متاباکس در پنل ادمین */
.suggested-products-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    background: #fff;
}

.product-checkbox-item {
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: #fff;
}

.product-checkbox-item:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.1);
}

.product-checkbox-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    width: 100%;
}

.product-checkbox-item input[type="checkbox"] {
    margin-left: 12px;
    transform: scale(1.2);
}

.product-checkbox-item strong {
    color: #2c3e50;
    font-size: 0.95rem;
}

.product-checkbox-item small {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .suggested-products-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .suggested-products-section h3 {
        font-size: 1.3rem;
    }
    
    .suggested-products-section .card-img-top {
        height: 150px;
    }
    
    .suggested-products-section .card-body {
        padding: 15px;
    }
    
    .suggested-products-section .card-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .suggested-products-section {
        padding: 15px;
    }
    
    .suggested-products-section .row {
        margin: 0 -5px;
    }
    
    .suggested-products-section .col-md-4 {
        padding: 0 5px;
    }
}
