/* ===== LIGHT MODE EMERGENCY FIXES ===== */

/* التأكد من أن الـ Light Mode بيتطبق */
[data-theme="light"] {
    color-scheme: light !important;
}

/* ===== FIX 1: قائمة الاقتراحات ===== */
[data-theme="light"] .feedback-modal {
    background: rgba(255, 253, 248, 0.98) !important;
    border: 1px solid #d9d1c3 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .feedback-header {
    background: linear-gradient(135deg, rgba(160, 120, 80, 0.1), rgba(138, 102, 66, 0.05)) !important;
    border-bottom: 1px solid #d9d1c3 !important;
}

[data-theme="light"] .feedback-header h3 {
    color: #a07850 !important;
}

[data-theme="light"] .feedback-close {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #d9d1c3 !important;
    color: #3a3429 !important;
}

[data-theme="light"] .feedback-close:hover {
    background: #a07850 !important;
    color: #fff !important;
    border-color: #a07850 !important;
}

[data-theme="light"] .feedback-body .form-input {
    background: rgba(255, 253, 248, 0.9) !important;
    border: 1px solid #d9d1c3 !important;
    color: #3a3429 !important;
}

[data-theme="light"] .feedback-body .form-input:focus {
    border-color: #a07850 !important;
    box-shadow: 0 0 0 3px rgba(160, 120, 80, 0.2) !important;
}

[data-theme="light"] .feedback-body .form-input::placeholder {
    color: #8a7e68 !important;
}

[data-theme="light"] .feedback-submit {
    background: linear-gradient(135deg, #a07850, #8a6642) !important;
    color: #fff !important;
}

[data-theme="light"] .feedback-submit:hover {
    background: linear-gradient(135deg, #8a6642, #765438) !important;
}

/* ===== FIX 2: صفحة من نحن - قسم قصة شغفنا ===== */
[data-theme="light"] .story-section {
    background: #fffdf8 !important;
}

[data-theme="light"] .story-text {
    color: #5d5340 !important;
}

[data-theme="light"] .story-text strong {
    color: #a07850 !important;
}

[data-theme="light"] .story-text p {
    color: #5d5340 !important;
}

/* ===== FIX 3: Modal الطلب في صفحة المنتجات ===== */
[data-theme="light"] .order-modal {
    background: rgba(255, 253, 248, 0.95) !important;
    backdrop-filter: blur(25px) !important;
}

[data-theme="light"] .order-modal .modal-content {
    background: linear-gradient(135deg, #fffdf8, #f9f6f0) !important;
    border: 1px solid #d9d1c3 !important;
    color: #3a3429 !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .order-modal .modal-header h3 {
    color: #a07850 !important;
}

[data-theme="light"] .order-modal .modal-header p {
    color: #5d5340 !important;
}

[data-theme="light"] .order-modal .modal-close {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #d9d1c3 !important;
    color: #3a3429 !important;
}

[data-theme="light"] .order-modal .modal-close:hover {
    background: #a07850 !important;
    color: #fff !important;
    border-color: #a07850 !important;
}

[data-theme="light"] .order-modal .modal-close i {
    color: inherit !important;
}

[data-theme="light"] .order-modal .selected-product {
    background: rgba(160, 120, 80, 0.05) !important;
    border: 1px solid rgba(160, 120, 80, 0.2) !important;
}

[data-theme="light"] .order-modal .selected-product h4 {
    color: #a07850 !important;
}

[data-theme="light"] .order-modal .price-label {
    color: #5d5340 !important;
}

[data-theme="light"] .order-modal .price-value {
    color: #3a3429 !important;
}

[data-theme="light"] .order-modal .shipping-cost {
    color: #25D366 !important;
}

[data-theme="light"] .order-modal .total-row {
    background: rgba(160, 120, 80, 0.1) !important;
    border: 1px solid rgba(160, 120, 80, 0.3) !important;
}

[data-theme="light"] .order-modal .total-label,
[data-theme="light"] .order-modal .total-value {
    color: #a07850 !important;
}

[data-theme="light"] .order-modal .form-group label {
    color: #a07850 !important;
}

[data-theme="light"] .order-modal .form-input {
    background: rgba(255, 253, 248, 0.9) !important;
    border: 1px solid #d9d1c3 !important;
    color: #3a3429 !important;
}

[data-theme="light"] .order-modal .form-input:focus {
    border-color: #a07850 !important;
    box-shadow: 0 0 0 2px rgba(160, 120, 80, 0.2) !important;
}

[data-theme="light"] .order-modal .submit-btn {
    background: linear-gradient(135deg, #a07850, #8a6642) !important;
    color: #fff !important;
    border: none !important;
}

[data-theme="light"] .order-modal .submit-btn:hover {
    background: linear-gradient(135deg, #8a6642, #765438) !important;
}

/* ===== FIX 4: Lightbox ===== */
[data-theme="light"] .lightbox {
    background: rgba(255, 253, 248, 0.98) !important;
}

[data-theme="light"] .lightbox-content {
    background: #fffdf8 !important;
    border: 1px solid #d9d1c3 !important;
}

[data-theme="light"] .lightbox-close {
    background: rgba(255, 253, 248, 0.9) !important;
    border: 1px solid #d9d1c3 !important;
    color: #3a3429 !important;
}

[data-theme="light"] .lightbox-close:hover {
    background: #a07850 !important;
    color: #fff !important;
    border-color: #a07850 !important;
}

[data-theme="light"] .lightbox-close i {
    color: inherit !important;
}

[data-theme="light"] .lightbox-prev,
[data-theme="light"] .lightbox-next {
    background: rgba(255, 253, 248, 0.9) !important;
    border: 1px solid #d9d1c3 !important;
    color: #3a3429 !important;
}

[data-theme="light"] .lightbox-prev:hover,
[data-theme="light"] .lightbox-next:hover {
    background: #a07850 !important;
    color: #fff !important;
    border-color: #a07850 !important;
}

[data-theme="light"] .lightbox-info {
    background: rgba(255, 253, 248, 0.9) !important;
    color: #3a3429 !important;
    border: 1px solid #d9d1c3 !important;
}

/* ===== FIX 5: التأكد من تطبيق الـ Light Mode على العناصر الأساسية ===== */
[data-theme="light"] body {
    background-color: #f5f0e6 !important;
    color: #3a3429 !important;
}

[data-theme="light"] .section-title {
    color: #a07850 !important;
}

[data-theme="light"] .policy-section {
    background: #fffdf8 !important;
    border: 1px solid #d9d1c3 !important;
    color: #3a3429 !important;
}

[data-theme="light"] .policy-content {
    color: #5d5340 !important;
}