كاش باك 10%

Get 10% of your total order back as cashback on orders of 150 or more.

<!DOCTYPE html><html lang="ar"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title> Depth branches</title><style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Tahoma, Arial, sans-serif; background: #f8f8f8; padding: 20px; } .branches-container { max-width: 1200px; margin: auto; } .accordion-item { margin-bottom: 12px; } .accordion-header { width: 100%; border: none; cursor: pointer; padding: 18px 20px; background: #6e2d49; color: #fff; font-size: 22px; font-weight: 700; border-radius: 12px; transition: .3s; text-align: center; } .accordion-header:hover { background: #5c253d; } .accordion-content { display: none; padding-top: 15px; } /* ===== التعديلات الجديدة بناءً على الصورة ===== */ .branch-card { direction: ltr; display: flex; align-items: center; justify-content: space-between; background: #fff; border: 2px solid #542137; /* لون الحدود الداكن المتناسق */ border-radius: 28px; /* زوايا دائرية واضحة كالصورة */ overflow: hidden; margin-bottom: 15px; min-height: 110px; box-shadow: 0 4px 15px rgba(0, 0, 0, .04); } .branch-logo { width: 140px; align-self: stretch; /* تجعل خلفية الشعار تأخذ كامل الطول الرأسي */ background: #542137; /* خلفية داكنة ممتدة */ color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; text-align: center; line-height: 1.4; } .branch-logo .logo-icon { padding: 0 !important; margin: -1rem 0 !important; } .branch-name { flex: 1; padding: 20px 30px; text-align: right; /* محاذاة النص لليمين مثل الصورة */ font-size: 22px; font-weight: 700; color: #333; /* لون النص الأساسي داكن وقريب للصورة */ } .branch-btn-wrap { padding: 20px 30px; } .branch-btn { display: inline-block; background: #542137; color: #fff; text-decoration: none; padding: 12px 28px; border-radius: 10px; font-size: 18px; font-weight: bold; transition: .3s; } .branch-btn:hover { background: #3b1626; } /* التجاوب مع الشاشات الصغيرة */ @media(max-width: 768px) { .branch-card { flex-direction: column-reverse; /* ليبقى الشعار في الأعلى عند الترتيب العمودي */ border-radius: 20px; text-align: center; } .branch-logo { width: 100%; padding: 15px; align-self: auto; } .branch-name { text-align: center; font-size: 1.5rem; padding: 15px; } .branch-btn-wrap { padding-bottom: 20px; } } </style></head><body style=";text-align:left;direction:ltr">
{ const item = document.createElement("div"); item.className = "accordion-item"; const header = document.createElement("button"); header.className = "accordion-header"; header.textContent = section.title; const content = document.createElement("div"); content.className = "accordion-content"; section.links.forEach(branch => { const card = document.createElement("div"); card.className = "branch-card"; card = `
${branch.name}
`; content(card); }); header.addEventListener("click", () => { document.querySelectorAll(".accordion-content").forEach(el => { if (el !== content) { el.style.display = "none"; } }); content.style.display = content.style.display === "block" ? "none" : "block"; }); item(header); item(content); container(item); }); </body></html>