/* ═══════════════════════════════════════════════════════════════
   قسم آراء العملاء - تصميم جديد ومختلف
═══════════════════════════════════════════════════════════════ */

.testimonials-section {
    padding: 60px 0;
    background: #f9fafb;
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* تنسيق قسم آراء العملاء مثل المنتجات */
.testimonials-section .category-header {
    margin-bottom: 20px;
}

.testimonials-section .category-title-main {
    color: #111;
    font-size: 28px;
    font-weight: 700;
}

.testimonials-section .category-subtitle {
    color: #666;
    font-size: 15px;
}

.testimonials-section .section-title {
    color: #111;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.testimonials-section .section-subtitle {
    color: #666;
    font-size: 15px;
}

/* شبكة الآراء - سلايدر أفقي مثل المنتجات والفئات */
.testimonials-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    padding: 10px 30px 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

.testimonials-grid:active {
    cursor: grabbing;
}

.testimonials-grid::-webkit-scrollbar {
    display: none;
}

/* بطاقة الرأي */
.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    min-width: 320px;
    max-width: 350px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.review-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #1f2937;
}

/* رأس البطاقة */
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e5e7eb;
}

.reviewer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info {
    flex: 1;
}

.reviewer-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0 0 4px 0;
}

.reviewer-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    font-size: 12px;
}

.reviewer-location i {
    font-size: 10px;
    color: #1f2937;
}

/* التقييم */
.review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fef3c7;
    padding: 6px 10px;
    border-radius: 20px;
}

.review-rating i {
    color: #f59e0b;
    font-size: 12px;
}

.review-rating span {
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
}

/* نص الرأي */
.review-text {
    color: #374151;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

/* ذيل البطاقة */
.review-footer {
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #111111;
    font-weight: 500;
}

.verified-badge i {
    font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive - سلايدر أفقي
═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .review-card {
        min-width: 300px;
        max-width: 320px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-section .section-title {
        font-size: 22px;
    }
    
    .testimonials-grid {
        gap: 15px;
        padding: 10px 15px 20px;
    }
    
    .review-card {
        min-width: 260px;
        max-width: 280px;
        padding: 18px;
    }
    
    .reviewer-img {
        width: 42px;
        height: 42px;
    }
    
    .reviewer-info h4 {
        font-size: 14px;
    }
    
    .review-text {
        font-size: 13px;
    }
    
    .testimonials-section .category-title-main {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 30px 0;
    }
    
    .testimonials-section .section-title {
        font-size: 20px;
    }
    
    .testimonials-section .section-subtitle {
        font-size: 13px;
    }
    
    .testimonials-grid {
        gap: 12px;
        padding: 10px 10px 15px;
    }
    
    .review-card {
        min-width: 240px;
        max-width: 260px;
        padding: 16px;
    }
    
    .review-header {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .reviewer-img {
        width: 38px;
        height: 38px;
    }
    
    .reviewer-info h4 {
        font-size: 13px;
    }
    
    .reviewer-location {
        font-size: 11px;
    }
    
    .review-rating {
        padding: 4px 8px;
    }
    
    .review-rating i {
        font-size: 10px;
    }
    
    .review-rating span {
        font-size: 10px;
    }
    
    .review-text {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .review-footer {
        padding-top: 8px;
    }
    
    .verified-badge {
        font-size: 10px;
    }
}

/* زر التمرير المعطل */
.products-nav.disabled {
    opacity: 0.85;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(30%);
}
