/* Reset and Base Styles */


.manal-product-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px;
    background: linear-gradient(135deg, #4d5d645e 0%, #3f3549 100%);
    min-height: 100vh;
    text-align: center;
}

.manal-product-header {
    text-align: center;
    margin-bottom: 30px;
}

.manal-product-header h1 {
    color: white;
    font-size: 2.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.manal-product-container {
    display: block;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #f9f9f9;
    padding: 100px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.manal-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

.image-thumbnails {
    margin-top: 20px;
}

.image-thumbnails h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.thumbnail-item {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thumbnail-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.thumbnail-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.manal-product-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-description {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    text-align: center;
    margin-top: 50px !important;
}

.additional-descriptions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.additional-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid #667eea;
    line-height: 1.7;
    color: #555;
}

.additional-description p {
    margin: 0 0 10px 0;
}

.additional-description p:last-child {
    margin-bottom: 0;
}

.product-features {
    background: #fff8e1;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ffeaa7;
}

.product-features h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.features-list {
    list-style: none;
    padding: 0px;
    display: flex;
}

.features-list li {
    padding: 8px 0;
    padding-right: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #27ae60;
    font-weight: bold;
}

.product-price-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    display: none;

}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.price-amount {
    font-size: 1.8em;
    font-weight: bold;
    color: #27ae60;
}

/* تنسيق الزر */

.scroll-button {
    display: block;
    background: linear-gradient(135deg, #29b564 0%, #2dc76e 100%);
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 40px;
    width: 100%;
}
        
.scroll-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
 }



.order-form-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 100%;
    border-right: 4px solid #667eea00;
    padding-right: 15px;
}

.order-instruction {
    color: #276a56;
    margin-bottom: 25px;
    font-size: 20px;
    line-height: 2.6;
    font-family: serif;
}

/* Form Styles */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 5px dashed #34504d9c;
    padding: 29px;
    margin: -20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.form-group input {
    padding: 15px;
    border: 2px solid #36b0b0 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Payment Method */
.payment-method {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 10px;
}

.payment-method h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2em;
    display:none;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    justify-content: center;
}

.payment-option input[type="radio"]:checked + label {
    border-color: #667eea;
    background-color: #f0f4ff;
}

.payment-icon {
    font-size: 1.3em;
}

.payment-text {
    font-weight: 600;
    font-size: 80%;
}

/* Order Summary */
.order-summary {
    background: #27ae6030;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin-top: 10px;
}

.order-summary h4 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
    font-size: 1.2em;
    display :none;
}

.summary-item {
    display: flex;
    margin-bottom: 10px;
    color: #fb0202;
    font-size: 125%;
    justify-content: center;
    font-weight: 1000;
}

.summary-total {
    display: none;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #dee2e6;
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
}

/* Form Actions */
.form-actions {
    margin-top: 25px;
    text-align: center;
}

.submit-order-btn-cod {
    background: linear-gradient(159deg, #27ae60, #2ecc71);
    color: white !important;
    border: none !important;
    padding: -1px 40px !important;
    border-radius: 20px !important;
    font-size: 1.3em !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    width: 100%;
    height: 90px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.submit-order-btn-cod:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.submit-order-btn-cod:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    text-align: center;
    color: #666;
    margin-top: 15px;
    font-size: 0.95em;
    font-style: italic;
}

/* Success Message */
.order-success-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.success-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 100%;
    width: 80%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    margin: auto;
}

.success-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.success-content h3 {
    color: #27ae60;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.order-number {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.new-order-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.new-order-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Error states */
input.error {
    border-color: #e74c3c !important;
    background-color: #fdf2f2;
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .manal-product-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .manal-product-header h1 {
        font-size: 2em;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .submit-order-btn-cod {
        padding: 18px 30px;
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .manal-product-page {
        padding: 5px;
    }
    
    .manal-product-container {
        padding: 20px;
    }
    
    .manal-product-header h1 {
        font-size: 85%;
    }
    
    .price-display {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .thumbnail-item img {
        height: 60px;
    }
    
    .form-group input {
        padding: 12px;
    
    }
}

@media (max-width: 480px) {
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .submit-order-btn-cod {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    
    .success-content {
        padding: 30px 20px;
        margin: auto;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.manal-product-container {
    animation: fadeIn 0.6s ease-out;
}

.additional-description,
.product-features,
.product-price-section,
.order-form-section {
    animation: fadeIn 0.6s ease-out;
    background-color: #4d5d640d;
    padding: 30px;
    margin: 20px -10px;
    border-radius: 10px;
    border: 1px solid #27ae60;
}

/* ========== الأقسام التسويقية الجديدة ========== */

.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); }
}



/* قسم المزايا */
.product-features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.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: 10px;
    }
    
    .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;
    }
}

@media (min-width: 1000px) {
    
    .ct-default-gallery .entry-summary,
    .ct-stacked-gallery .entry-summary {
        
        margin-inline-start: 5px !important;
    }
}
























