

.flexy-pills ol,.flex-control-nav:has(img) {

    justify-content: space-evenly !important;
  }







/* تنسيقات عامة للنموذج المخصص */
.custom-payment-form {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.form-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* تنسيقات بطاقة معلومات المنتج */
.product-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.product-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

.product-basic-info {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.product-price {
    font-size: 28px;
    color: #f1c40f;
    font-weight: 800;
}

/* تنسيقات التقييم */
.product-rating {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    justify-content: center;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars .star {
    color: #ddd;
    font-size: 18px;
}

.rating-stars .star.filled {
    color: #f1c40f;
}

.rating-stars .star.half-filled {
    background: linear-gradient(90deg, #f1c40f 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.average-rating {
    font-weight: 700;
    color: white;
}

.review-count {
    color: rgba(255, 255, 255, 0.8);
}

/* تنسيقات الأقسام */
.form-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.form-section h4 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

/* تنسيقات الشبكة */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row.full-width {
    grid-column: 1 / -1;
}

/* تنسيقات الحقول */
.form-row {
    display: flex;
    flex-direction: column;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.form-row input[type="text"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #fafbfc;
    font-family: inherit;
}

.form-row input[type="text"]:focus,
.form-row input[type="number"]:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.form-row textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

/* تنسيقات اختيار الكمية */
.quantity-selector {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e8ecef;
}

.quantity-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #5a6fd8;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-selector input {
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-weight: 600;
    box-shadow: none !important;
    transform: none !important;
}

/* تنسيقات زر الإرسال */
.form-actions {
    margin-top: 30px;
}

.submit-order-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-order-btn:hover::before {
    left: 100%;
}

.submit-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.submit-order-btn:active {
    transform: translateY(-1px);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    font-size: 20px;
}

/* رسالة عدم التوفر */
.out-of-stock-message {
    text-align: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.out-of-stock-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.out-of-stock-message p {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.notify-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.notify-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* تنسيقات للشاشات الصغيرة */

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .custom-payment-form-container {
            width: 70%;
        }
    
    .form-section {
        padding: 20px;
    }
    
    .product-info-card {
        padding: 20px;
    }
    
    .product-name {
        font-size: 20px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .product-rating {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .submit-order-btn {
        padding: 16px 30px;
        font-size: 16px;
    }
}

/* تنسيقات للأخطاء */
.form-row.error input,
.form-row.error select,
.form-row.error textarea {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* تنسيقات للنجاح */
.form-row.success input,
.form-row.success select,
.form-row.success textarea {
    border-color: #27ae60;
    background-color: #f2fdf2;
}

/* تحسينات للوصول */
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
.submit-order-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* تنسيقات للعناوين في لوحة التحكم */
.order_data_column {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    border-left: 4px solid #667eea;
}

.order_data_column h3 {
    color: #2c3e50;
    margin-top: 0;
}

/* تأثيرات التحميل */
.submit-order-btn.loading {
    pointer-events: none;
}

.submit-order-btn.loading .btn-text {
    opacity: 0;
}

.submit-order-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ========== الأقسام التسويقية الجديدة ========== */

.product-marketing-sections {
    margin: 40px 0;
    width: 100%;
}

/* قسم العروض والتخفيضات */
.discount-timer {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* تنبيه المخزون */
.stock-warning {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    color: #856404;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.2);
}

/* قسم المزايا */
.product-features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.features-header h3 {
    text-align: center;
    margin: 0 0 25px 0;
    color: #2c3e50;
    font-size: 22px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-right: 4px solid #667eea;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.feature-icon {
    font-size: 28px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 700;
}

.feature-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* قسم الإحصائيات */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 15px;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #f1c40f;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* قسم التوصيات */
.recommendations-section {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid #ffeaa7;
}

.recommendations-header h3 {
    text-align: center;
    margin: 0 0 20px 0;
    color: #856404;
    font-size: 20px;
    font-weight: 700;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

.rec-icon {
    font-size: 16px;
    color: #28a745;
}

/* قسم الضمان */
.guarantee-section {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    color: white;
    text-align: center;
}

.guarantee-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.guarantee-icon {
    font-size: 24px;
}

.guarantee-text {
    font-size: 16px;
    font-weight: 600;
}

/* قسم وصف المنتج */
.product-description-section {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.description-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 8px;
}

.description-content {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
    direction: rtl;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-features-section,
    .recommendations-section,
    .stats-section {
        padding: 5px;
    }
    
    .features-header h3 {
        font-size: 20px;
    }
    
    .recommendations-header h3 {
        font-size: 18px;
    }
    
    .discount-timer,
    .stock-warning {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .product-marketing-sections {
        margin: 20px 0;
    }
}










