@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700;900&display=swap');

/* تغيير ألوان وتصميم المتجر بالكامل للاستايل الفخم المتفق عليه */
body, html { background-color: #0a192f !important; color: #ffffff !important; font-family: 'Cairo', sans-serif !important; }
.product-card, .product-item, .card, .product-box, div[class*="product"] { background-color: #172a45 !important; border: 1px solid rgba(216, 184, 113, 0.3) !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; transition: all 0.3s ease !important; }
.product-card:hover, .product-item:hover { transform: translateY(-5px) !important; border-color: #d8b871 !important; box-shadow: 0 15px 40px rgba(216, 184, 113, 0.2) !important; }
header, footer, nav, .header, .footer, .navbar { background-color: #0E0A17 !important; border-bottom: 2px solid #d8b871 !important; }
h1, h2, h3, h4, h5, h6 { color: #d8b871 !important; font-weight: 900 !important; }
button.btn-primary, .add-to-cart, button[type="submit"], .checkout-btn { background-color: #d8b871 !important; color: #0a192f !important; border-radius: 15px !important; font-weight: bold !important; border: none !important; }

/* تصميم زر الواتساب والشات بوت */
.eo-whatsapp-btn { position: fixed; bottom: 20px; left: 20px; background-color: #1ebc59; color: white; font-weight: bold; font-size: 16px; padding: 12px 24px; border-radius: 50px; text-decoration: none; box-shadow: 0 8px 25px rgba(33,219,132,0.4); z-index: 9999; display: flex; align-items: center; gap: 8px; transition: transform 0.3s ease; font-family: 'Cairo', sans-serif;}
.eo-whatsapp-btn:hover { transform: scale(1.05); color: white; }
.eo-chat-container { position: fixed; bottom: 80px; right: 20px; z-index: 10000; direction: rtl; font-family: 'Cairo', sans-serif;}
.eo-chat-btn { width: 65px; height: 65px; background: linear-gradient(135deg, #d8b871, #f0d080); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 15px rgba(216, 184, 113, 0.5); border: none; transition: transform 0.3s; }
.eo-chat-btn:hover { transform: scale(1.1); }
.eo-chat-btn svg { width: 34px; height: 34px; fill: #0a192f; }
.eo-chat-window { display: none; position: absolute; bottom: 80px; right: 0; width: 360px; height: 550px; background-color: #ffffff; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); overflow: hidden; flex-direction: column; border: 2px solid #d8b871; }
.eo-chat-window.open { display: flex; }
.eo-chat-header { background-color: #0a192f; color: #d8b871; padding: 15px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; font-size:18px;}
.eo-chat-close { background: none; border: none; color: white; cursor: pointer; font-size: 20px; }
.eo-chat-messages { flex: 1; padding: 15px; overflow-y: auto; background-color: #f0f2f5; display: flex; flex-direction: column; gap: 10px; }
.eo-msg { max-width: 85%; padding: 12px 18px; border-radius: 20px; font-size: 15px; line-height: 1.5; font-weight: bold; }
.eo-msg.bot { background-color: white; color: #0a192f; align-self: flex-start; border-bottom-right-radius: 5px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.eo-msg.user { background-color: #172a45; color: white; align-self: flex-end; border-bottom-left-radius: 5px; border: 1px solid #d8b871; }
.eo-chat-input { display: flex; padding: 10px; background-color: white; border-top: 1px solid #eee; gap: 8px; align-items: center;}
.eo-chat-input input { flex: 1; border: 1px solid #ddd; border-radius: 20px; padding: 12px 15px; outline: none; font-family:"Cairo"; font-weight:700;}
.eo-chat-input button { background-color: #d8b871; color: #0a192f; border: none; border-radius: 50%; width: 45px; height: 45px; cursor: pointer; font-weight: bold; display:flex; justify-content:center; align-items:center;}
.eo-mic-btn { background-color: #172a45 !important; color: white !important; font-size: 20px !important;}
.eo-mic-btn.recording { background-color: #ff4444 !important; animation: pulse-red 1.5s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(255, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); } }

/* كروت المنتجات והمدير */
.eo-manager-card { margin-top: 10px; padding: 15px; background-color: #f4f6f8; border: 1px solid #ddd; border-radius: 15px; text-align: center; }
.eo-manager-card img { width: 180px; height: 240px; border-radius: 12px; object-fit: cover; border: 4px solid #d8b871; margin-top: 10px; }
.eo-manager-card a { display: block; background-color: #25D366; color: white; text-decoration: none; padding: 12px; border-radius: 8px; font-weight: bold; font-size:16px;}
.eo-bot-product { background: white; border: 2px solid #d8b871; border-radius: 15px; padding: 10px; margin-top: 10px; text-align:center;}
.eo-bot-product img { width: 100%; height: 180px; object-fit: contain; background:#f9f9f9; border-radius:10px; margin-bottom:10px; }
.eo-bot-product h4 { color: #0a192f !important; font-size: 16px; margin: 0 0 5px 0 !important; }
.eo-bot-product p { color: #eab308; font-weight: 900; font-size: 18px; margin: 0 0 10px 0; }
.eo-bot-product a { display:block; background:#0a192f; color:#d8b871; text-decoration:none; padding:10px; border-radius:10px; font-weight:bold; }