استيراد
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#173f35">
<title>طلب منتجات بالجملة</title>
<style>
:root {
--green: #173f35;
--green-light: #245c4b;
--gold: #c6a56b;
--bg: #f7f7f3;
--white: #ffffff;
--text: #26352f;
--muted: #78827c;
--border: #e5e9e4;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Tahoma, Arial, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.8;
}
.topbar {
background: var(--green);
color: white;
padding: 15px 20px;
}
.topbar-inner {
max-width: 1000px;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.brand {
font-size: 20px;
font-weight: bold;
}
.brand span {
color: var(--gold);
}
.top-note {
font-size: 12px;
color: #e2e9e4;
}
.hero {
max-width: 760px;
margin: 38px auto 22px;
padding: 0 18px;
text-align: center;
}
.tag {
display: inline-block;
color: var(--green);
background: #e8eee8;
padding: 5px 14px;
border-radius: 30px;
font-size: 12px;
font-weight: bold;
}
h1 {
margin: 13px 0 8px;
font-size: clamp(27px, 5vw, 39px);
line-height: 1.5;
color: var(--green);
}
.hero p {
margin: 0;
color: var(--muted);
font-size: 15px;
}
.container {
max-width: 690px;
padding: 0 16px;
margin: 0 auto 45px;
}
.form-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: 18px;
padding: 28px;
box-shadow: 0 10px 35px rgba(23, 63, 53, 0.05);
}
.section-title {
font-size: 17px;
font-weight: bold;
color: var(--green);
margin: 0 0 18px;
}
.fields {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 17px;
}
.field {
min-width: 0;
}
.full {
grid-column: 1 / -1;
}
label {
display: block;
margin-bottom: 7px;
font-size: 13px;
font-weight: bold;
}
.optional {
color: var(--muted);
font-weight: normal;
}
input, select, textarea {
width: 100%;
border: 1px solid var(--border);
background: #fcfcfa;
border-radius: 9px;
padding: 12px 13px;
font-family: inherit;
font-size: 14px;
color: var(--text);
outline: none;
transition: border-color .2s, box-shadow .2s;
}
input, textarea {
direction: rtl;
}
input:focus, select:focus, textarea:focus {
border-color: var(--green-light);
box-shadow: 0 0 0 3px rgba(36, 92, 75, 0.08);
}
input::placeholder, textarea::placeholder {
color: #a2aaa4;
}
textarea {
resize: vertical;
min-height: 115px;
}
.hint {
color: var(--muted);
font-size: 11px;
margin-top: 5px;
}
.submit-btn {
width: 100%;
border: none;
border-radius: 10px;
padding: 15px 18px;
margin-top: 23px;
background: #198754;
color: white;
font-family: inherit;
font-size: 16px;
font-weight: bold;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
transition: background .2s, transform .2s;
}
.submit-btn:hover {
background: #146c43;
transform: translateY(-1px);
}
.submit-btn svg {
width: 23px;
height: 23px;
fill: currentColor;
}
.privacy {
color: var(--muted);
text-align: center;
font-size: 11px;
margin: 12px 0 0;
}
.steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin-top: 18px;
}
.step {
text-align: center;
padding: 15px 8px;
border: 1px solid var(--border);
background: #fff;
border-radius: 12px;
font-size: 12px;
color: var(--muted);
}
.step strong {
display: block;
color: var(--green);
font-size: 13px;
margin-bottom: 3px;
}
footer {
text-align: center;
color: var(--muted);
font-size: 12px;
padding: 22px 15px;
border-top: 1px solid var(--border);
}
@media (max-width: 520px) {
.top-note {
display: none;
}
.hero {
margin-top: 27px;
}
.form-card {
padding: 20px 16px;
}
.fields {
grid-template-columns: 1fr;
gap: 13px;
}
.full {
grid-column: auto;
}
.steps {
gap: 6px;
}
.step {
padding: 12px 5px;
font-size: 11px;
}
}
</style>
</head>
<body>
<header class="topbar">
<div class="topbar-inner">
<div class="brand">طلبات <span>الجملة</span></div>
<div class="top-note">سهولة في الطلب · تواصل مباشر · كميات كبيرة</div>
</div>
</header>
<main>
<section class="hero">
<span class="tag">للتجار وأصحاب المتاجر</span>
<h1>اطلب منتجاتك بالجملة</h1>
<p>
اكتب تفاصيل المنتجات والكميات المطلوبة، وسنستقبل طلبك
عبر واتساب للتواصل معك وتأكيد التفاصيل.
</p>
</section>
<div class="container">
<form class="form-card" id="orderForm">
<h2 class="section-title">بيانات الطلب</h2>
<div class="fields">
<div class="field">
<label for="name">الاسم بالكامل *</label>
<input
id="name"
name="name"
type="text"
placeholder="اكتب اسمك"
autocomplete="name"
required
>
</div>
<div class="field">
<label for="phone">رقم هاتفك *</label>
<input
id="phone"
name="phone"
type="tel"
placeholder="01xxxxxxxxx"
autocomplete="tel"
required
>
</div>
<div class="field">
<label for="business">
اسم المتجر أو الشركة
<span class="optional">(اختياري)</span>
</label>
<input
id="business"
name="business"
type="text"
placeholder="اسم النشاط التجاري"
>
</div>
<div class="field">
<label for="city">المدينة / المحافظة *</label>
<input
id="city"
name="city"
type="text"
placeholder="مثال: القاهرة"
required
>
</div>
<div class="field full">
<label for="products">المنتجات والكميات المطلوبة *</label>
<textarea
id="products"
name="products"
placeholder="اكتب اسم كل منتج والكمية المطلوبة منه، وأي مواصفات مهمة..."
required
></textarea>
<div class="hint">
مثال: المنتج الأول — 500 قطعة، المنتج الثاني — 200 قطعة.
</div>
</div>
<div class="field">
<label for="quantity">إجمالي الكمية التقريبية</label>
<select id="quantity" name="quantity">
<option value="">اختر الكمية</option>
<option>من 100 إلى 500 قطعة</option>
<option>من 500 إلى 1000 قطعة</option>
<option>من 1000 إلى 5000 قطعة</option>
<option>أكثر من 5000 قطعة</option>
<option>حسب المنتجات المطلوبة</option>
</select>
</div>
<div class="field">
<label for="budget">الميزانية المتوقعة</label>
<input
id="budget"
name="budget"
type="text"
placeholder="اختياري"
>
</div>
<div class="field full">
<label for="notes">ملاحظات إضافية</label>
<textarea
id="notes"
name="notes"
placeholder="موعد التسليم، الشحن، المواصفات..."
style="min-height: 75px;"
></textarea>
</div>
</div>
<button type="submit" class="submit-btn">
<svg viewBox="0 0 32 32" aria-hidden="true">
<path d="M16 .5A15.4 15.4 0 0 0 2.7 23.7L.6 31.5l8-2.1A15.5 15.5 0 1 0 16 .5Zm0 28.2a12.7 12.7 0 0 1-6.5-1.8l-.5-.3-4.8 1.3 1.3-4.7-.3-.5A12.7 12.7 0 1 1 16 28.7Zm7-9.5c-.4-.2-2.2-1.1-2.6-1.2-.3-.1-.6-.2-.8.2-.3.4-1 1.2-1.2 1.5-.2.2-.4.3-.8.1-.4-.2-1.6-.6-3-1.9-1.1-.9-1.8-2.1-2-2.5-.2-.4 0-.6.2-.8l.6-.7.4-.7c.1-.2 0-.5 0-.7l-1.2-2.8c-.3-.7-.6-.6-.8-.6h-.7c-.3 0-.7.1-1 .5-.4.4-1.3 1.3-1.3 3.1s1.3 3.6 1.5 3.9c.2.3 2.6 4 6.3 5.6.9.4 1.6.6 2.1.7.9.3 1.7.2 2.3.1.7-.1 2.2-.9 2.5-1.8.3-.9.3-1.7.2-1.8-.1-.2-.3-.3-.7-.5Z"/>
</svg>
إرسال طلب الجملة عبر واتساب
</button>
<p class="privacy">
سيتم فتح واتساب برسالة تحتوي على تفاصيل طلبك لمراجعتها وإرسالها.
</p>
</form>
<div class="steps">
<div class="step">
<strong>01 — اكتب طلبك</strong>
حدد المنتجات والكميات
</div>
<div class="step">
<strong>02 — أرسل عبر واتساب</strong>
راجع تفاصيل رسالتك
</div>
<div class="step">
<strong>03 — أكّد طلبك</strong>
نتواصل معك لاستكمال التفاصيل
</div>
</div>
</div>
</main>
<footer>
للاستفسارات وطلبات الجملة · التواصل عبر واتساب
</footer>
<script>
const whatsappNumber = "201025633474";
document.getElementById("orderForm").addEventListener("submit", function (event) {
event.preventDefault();
const getValue = id =>
document.getElementById(id).value.trim();
const name = getValue("name");
const phone = getValue("phone");
const business = getValue("business");
const city = getValue("city");
const products = getValue("products");
const quantity = getValue("quantity");
const budget = getValue("budget");
const notes = getValue("notes");
const message = [
"🛒 *طلب منتجات بالجملة*",
"",
"👤 الاسم: " + name,
"📞 رقم العميل: " + phone,
business ? "🏪 المتجر / الشركة: " + business : "",
"📍 المدينة: " + city,
"",
"📦 المنتجات والكميات:",
products,
quantity ? "" : null,
quantity ? "🔢 إجمالي الكمية: " + quantity : "",
budget ? "💰 الميزانية المتوقعة: " + budget : "",
notes ? "📝 ملاحظات: " + notes : "",
"",
"يرجى التواصل معي لتأكيد تفاصيل الطلب."
].filter(line => line !== null && line !== "").join("\n");
const whatsappURL =
"https://wa.me/" + whatsappNumber +
"?text=" + encodeURIComponent(message);
window.open(whatsappURL, "_blank", "noopener,noreferrer");
});
</script>
</body>
</html>