/* =========================================
   سبشيال بارتس - ملف التنسيق الرئيسي
   ========================================= */

/* ----- المتغيرات ----- */
:root {
  --primary: #0045ce;      /* أزرق لوجو سبشيال */
  --primary-dark: #00318f;
  --accent: #f5a623;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f3f5f9;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  --max-width: 1200px;
}

/* ----- إعادة الضبط ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
body {
  font-family: "Cairo", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }

/* ----- الأزرار ----- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid var(--accent);
  transition: transform .2s, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 6px 18px; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--primary); }

/* ----- الهيدر ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; }
.logo-text { font-weight: 700; font-size: 1.15rem; line-height: 1.4; color: var(--text); }
.logo-text strong { font-weight: 800; color: var(--primary); }

.main-nav ul { display: flex; align-items: center; gap: 24px; }
.main-nav a { font-weight: 600; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.btn:hover { color: #1a1a1a; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; margin: 4px 0; background: var(--primary); border-radius: 2px; }

/* ----- الهيرو ----- */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 80px 0;
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block; background: rgba(255,255,255,.15);
  padding: 4px 14px; border-radius: 999px; font-size: .9rem; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.4; margin-bottom: 16px; }
.highlight { color: var(--accent); }
.hero p { opacity: .9; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.stat {
  background: rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 14px; text-align: center;
}
.stat strong { display: block; font-size: 1.5rem; color: var(--accent); line-height: 1.3; }
.stat span { font-size: .85rem; opacity: .9; }
.hero-media img {
  width: 100%; height: auto; border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.3); border: 4px solid rgba(255,255,255,.15);
}

/* ----- الأقسام ----- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head h2 { font-size: 2rem; color: var(--primary); margin-bottom: 8px; }
.section-head p { color: var(--muted); }

/* المميزات */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature { text-align: center; padding: 32px 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.feature-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--bg-alt); color: var(--primary);
  display: grid; place-items: center; font-size: 1.5rem;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); }

/* بطاقات المنتجات */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card {
  background: #fff; padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); position: relative;
}
.card-img {
  display: block; width: calc(100% + 56px); max-width: none; margin: -28px -28px 18px;
  height: 220px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0;
}
.card-img-empty {
  display: grid; place-content: center; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 1.8rem; font-weight: 800; line-height: 1.4;
}
.card-img-empty small { font-size: 1rem; font-weight: 600; opacity: .85; }
.card { overflow: hidden; }
.card-tag {
  display: inline-block; font-size: .8rem; font-weight: 700;
  background: var(--accent); color: #1a1a1a; padding: 2px 12px; border-radius: 999px; margin-bottom: 12px;
}
.card h3 { color: var(--primary); margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 12px; }
.card ul li::before { content: "• "; color: var(--accent); font-weight: 700; }
.card-soon { border: 2px dashed var(--border); box-shadow: none; background: transparent; }

/* التوكيلات */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.brand {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; transition: border-color .2s, transform .2s;
}
.brand:hover { border-color: var(--primary); transform: translateY(-3px); }
.brand strong { display: block; font-size: 1.5rem; color: var(--primary); }
.brand span { color: var(--muted); font-size: .9rem; }

/* مناطق التوزيع */
.regions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.regions li {
  background: #fff; border: 1px solid var(--border);
  padding: 10px 24px; border-radius: 999px; font-weight: 600;
}
.regions li.hq { background: var(--primary); color: #fff; border-color: var(--primary); }
.regions li.hq small { color: var(--accent); margin-right: 6px; }

/* دعوة للتواصل */
.cta { background: var(--accent); padding: 48px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: var(--primary-dark); }

/* ----- الفوتر ----- */
.site-footer { background: #0f172a; color: #cbd5e1; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer a:hover { color: var(--accent); }
.site-footer li { margin-bottom: 6px; word-break: break-word; }
.footer-bottom { text-align: center; border-top: 1px solid #1e293b; margin-top: 40px; padding: 20px 16px; font-size: .9rem; }

/* ----- عناوين صغيرة فوق الأقسام ----- */
.eyebrow {
  display: inline-block; color: var(--accent); font-weight: 700;
  font-size: .9rem; margin-bottom: 4px;
}
.btn-block { width: 100%; }

/* ----- شريط الثقة ----- */
.trust-bar { background: var(--primary-dark); color: #fff; padding: 14px 0; font-size: .95rem; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.trust-inner span::before { content: "✔ "; color: var(--accent); }

/* ----- الخدمات ----- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px;
  background: var(--bg-alt); display: grid; place-items: center;
}
.service-icon svg {
  width: 26px; height: 26px; fill: none; stroke: var(--primary);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { color: var(--primary); margin-bottom: 6px; }
.service p { color: var(--muted); }

/* ----- قسم التواصل ----- */
.contact-section { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: start; }
.contact-info {
  background: var(--primary); color: #fff; border-radius: var(--radius);
  padding: 32px; display: grid; gap: 22px;
}
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.12); display: grid; place-items: center;
}
.info-icon svg {
  width: 22px; height: 22px; fill: none; stroke: var(--accent);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.info-item h4 { font-size: 1rem; }
.info-item p, .info-item a { color: #dbe4f5; word-break: break-word; }
.info-item a:hover { color: var(--accent); }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; text-align: center; }
.social { display: flex; gap: 12px; }
.social a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-radius: 8px; font-weight: 700;
  background: rgba(255,255,255,.12); color: #fff; transition: background .2s;
}
.social a:hover { background: rgba(255,255,255,.22); }
.social svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.contact-form {
  background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,61,145,.12);
}
.form-group .invalid { border-color: #dc2626; }
.form-status { margin-top: 12px; font-weight: 600; min-height: 1.5em; }
.form-status.success { color: #15803d; }
.form-status.error { color: #dc2626; }

/* ----- حالة المحل (مفتوح/مقفول) ----- */
.open-status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem;
}
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.open-status.is-open { background: #dcfce7; color: #15803d; }
.open-status.is-closed { background: #fee2e2; color: #b91c1c; }

/* ----- طرق التواصل السريعة ----- */
.quick-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.qc-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 2px solid transparent; transition: transform .2s, border-color .2s;
}
.qc-card:hover { transform: translateY(-3px); border-color: currentColor; }
.qc-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.qc-icon svg { width: 26px; height: 26px; }
.qc-whatsapp { color: #128c3e; } .qc-whatsapp .qc-icon { background: #25d366; } .qc-whatsapp svg { fill: #fff; }
.qc-call { color: var(--primary); } .qc-call .qc-icon { background: var(--primary); }
.qc-map { color: #c2410c; } .qc-map .qc-icon { background: var(--accent); }
.qc-call svg, .qc-map svg { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qc-text strong { display: block; font-size: 1.1rem; color: var(--text); }
.qc-text small { color: var(--muted); font-size: .9rem; }

.form-title { color: var(--primary); font-size: 1.25rem; margin-bottom: 4px; }
.form-hint { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.req { color: #dc2626; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.05rem; padding: 14px; }
.btn-icon svg { width: 22px; height: 22px; fill: #fff; }
.info-item small { color: #b9c8ee; }

/* ----- زرار واتساب العائم ----- */
.wa-widget {
  position: fixed; bottom: 22px; left: 22px; z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.wa-float {
  position: relative; display: flex; align-items: center; gap: 10px;
  height: 60px; min-width: 60px; padding: 0 14px; border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c3e); color: #fff;
  box-shadow: 0 10px 25px rgba(18,140,62,.45);
  animation: wa-enter .6s cubic-bezier(.2,1.4,.4,1) .8s both, wa-wiggle 6s ease-in-out 3s infinite;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 30px rgba(18,140,62,.55); }
.wa-float svg { position: relative; z-index: 1; width: 32px; height: 32px; fill: #fff; flex-shrink: 0; }
.wa-label { position: relative; z-index: 1; font-weight: 700; white-space: nowrap; padding-inline-end: 4px; }
.wa-pulse {
  position: absolute; inset: 0; border-radius: inherit; background: #25d366;
  animation: wa-pulse 2.4s ease-out infinite; z-index: 0;
}
.wa-pulse-2 { animation-delay: 1.2s; }

.wa-bubble {
  position: relative; max-width: 260px; padding: 14px 16px 14px 34px;
  background: #fff; color: var(--text); border-radius: 16px 16px 16px 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: .92rem; line-height: 1.6;
  opacity: 0; transform: translateY(10px) scale(.95); pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.wa-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble strong { display: block; color: #128c3e; margin-bottom: 2px; }
.wa-bubble-close {
  position: absolute; top: 6px; left: 8px; width: 24px; height: 24px;
  border: 0; background: none; font-size: 1.2rem; line-height: 1; color: var(--muted); cursor: pointer;
}

@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes wa-enter { from { opacity: 0; transform: translateY(40px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes wa-wiggle {
  0%, 90%, 100% { rotate: 0deg; } 92% { rotate: -8deg; } 94% { rotate: 8deg; } 96% { rotate: -5deg; } 98% { rotate: 5deg; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-pulse { animation: none; }
  .wa-bubble { transition: none; }
}

/* ----- التجاوب مع الشاشات الصغيرة ----- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .quick-contact { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info, .contact-form { padding: 24px; }
  .wa-widget { bottom: 16px; left: 16px; }
  .wa-label { display: none; }
  .wa-float { width: 60px; padding: 0; justify-content: center; }
  .wa-bubble { max-width: 250px; font-size: .88rem; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; right: 0; left: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 16px; }
  .main-nav li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .main-nav li:last-child { border-bottom: 0; }
  .hero { padding: 56px 0; }
  .section { padding: 56px 0; }
}

/* =========================================
   صفحة المنتجات (products.html)
   ========================================= */
.p-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 48px 0 40px; text-align: center;
}
.p-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 6px; }
.p-hero p { opacity: .9; max-width: 640px; margin: 0 auto 22px; }
.p-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.p-tabs a {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  padding: 8px 18px; border-radius: 999px; font-weight: 700; transition: background .2s;
}
.p-tabs a:hover { background: rgba(255,255,255,.25); }
.p-tabs a span { background: var(--accent); color: #1a1a1a; border-radius: 999px; padding: 0 8px; margin-right: 6px; font-size: .8rem; }
.p-search { max-width: 620px; margin: 0 auto; }
.p-search input {
  width: 100%; padding: 14px 18px; border-radius: 12px; border: 0;
  font: inherit; font-size: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.p-search input:focus { outline: 3px solid var(--accent); }
.p-search-info { min-height: 1.6em; margin-top: 8px; font-weight: 600; }
.p-search-info a { color: var(--accent); text-decoration: underline; }

.p-brand { padding: 56px 0; }
.p-brand:nth-of-type(odd) { background: var(--bg-alt); }
.p-brand[hidden], .p-group[hidden], .p-card[hidden] { display: none; }
.p-brand-head {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 22px; margin-bottom: 28px; border-right: 6px solid var(--primary);
}
.p-brand-head h2 { color: var(--primary); font-size: 1.6rem; line-height: 1.4; }
.p-brand-head p { color: var(--muted); }
.p-brand-head > div { flex: 1; min-width: 220px; }
.p-brand-logo {
  font-weight: 800; font-size: 1.3rem; letter-spacing: 1px; direction: ltr;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.p-brand-eurostar .p-brand-head { border-right-color: #c62828; }
.p-brand-eurostar .p-brand-logo { background: #c62828; }
.p-brand-hygt .p-brand-head { border-right-color: #1f2937; }
.p-brand-hygt .p-brand-logo { background: #1f2937; }
.p-count { background: var(--accent); color: #1a1a1a; font-weight: 800; padding: 4px 14px; border-radius: 999px; }

.p-group { margin-bottom: 34px; }
.p-group h3 { color: var(--text); font-size: 1.25rem; margin-bottom: 14px; padding-right: 12px; border-right: 4px solid var(--accent); }
.p-group h3 small { color: var(--muted); font-weight: 600; font-size: .85rem; margin-right: 6px; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.p-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.p-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-bottom: 1px solid var(--border); }
.p-noimg {
  aspect-ratio: 1; display: grid; place-content: center; text-align: center; gap: 4px;
  background: linear-gradient(135deg, var(--bg-alt), #e6ebf5); border-bottom: 1px solid var(--border);
}
.p-noimg strong { font-size: 1.4rem; color: var(--primary); direction: ltr; }
.p-noimg span { font-weight: 800; direction: ltr; }
.p-noimg small { color: var(--muted); }
.p-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-body h4 { font-size: 1rem; line-height: 1.5; }
.p-code { font-weight: 800; color: var(--primary); font-size: .95rem; text-align: right; }
.p-fit { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.p-fit span { font-weight: 700; }
.p-wa {
  margin-top: auto; text-align: center; background: #1fae54; color: #fff; font-weight: 700;
  padding: 8px 10px; border-radius: 8px; font-size: .9rem; transition: background .2s;
}
.p-wa:hover { background: #178a42; }
.p-missing { text-align: center; }
.p-missing h2 { color: var(--primary); margin-bottom: 8px; }
.p-missing p { color: var(--muted); max-width: 620px; margin: 0 auto 20px; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--primary); }
.card-link:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p-body { padding: 10px; }
  .p-body h4 { font-size: .9rem; }
  .p-wa { font-size: .8rem; padding: 7px 6px; }
  .p-brand-head { padding: 14px; }
}
.card-img-contain { object-fit: contain; background: #fff; border-bottom: 1px solid var(--border); }
.center-cta { text-align: center; margin-top: 32px; }
.p-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.p-chips i { font-style: normal; font-size: .75rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px; padding: 0 6px; line-height: 1.7; }
.p-real { margin-bottom: 30px; }
.p-real h3 { font-size: 1.15rem; margin-bottom: 12px; padding-right: 12px; border-right: 4px solid var(--accent); }
.p-real-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.p-real-strip img { height: 260px; width: auto; max-width: none; border-radius: var(--radius); box-shadow: var(--shadow); scroll-snap-align: start; background: #fff; }
@media (max-width: 560px) { .p-real-strip img { height: 200px; } }
.footer-bottom .legal { font-size: .8rem; opacity: .75; margin-top: 4px; }

/* ----- شركاء النجاح ----- */
.partner-card { display: flex; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; max-width: 900px; margin: 0 auto; }
.partner-logo { width: 110px; height: 110px; border-radius: 50%; border: 3px solid #c8a96a; flex: none; object-fit: cover; }
.partner-body { min-width: 0; }
.partner-body h3 { font-size: 1.35rem; color: var(--primary-dark); margin-bottom: 4px; }
.partner-sub { color: var(--muted); margin-bottom: 12px; }
.partner-facts li { position: relative; padding-right: 22px; margin-bottom: 6px; }
.partner-facts li::before { content: "✓"; position: absolute; right: 0; color: var(--primary); font-weight: 800; }
.partner-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
@media (max-width: 640px) { .partner-card { flex-direction: column; text-align: center; padding: 22px; }
  .partner-facts li { text-align: right; } .partner-links { justify-content: center; } }

/* ----- قايمة الأصناف في نموذج الطلب ----- */
.picker-label { display: block; font-weight: 600; margin-bottom: 8px; }
.brand-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.brand-tab { font: inherit; font-weight: 700; padding: 8px 6px; border: 2px solid var(--primary); border-radius: 8px;
  background: #fff; color: var(--primary); cursor: pointer; }
.brand-tab.is-active { background: var(--primary); color: #fff; }
.brand-tab .cnt { display: inline-block; min-width: 20px; margin-right: 4px; border-radius: 10px; background: var(--accent);
  color: #1a1a1a; font-size: .8rem; padding: 0 6px; }
.form-group .pick-search { margin-bottom: 8px; }
.pick-head { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); padding: 0 10px 4px; }
.pick-list { max-height: 360px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.pick-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.pick-list li:last-child { border-bottom: 0; }
.pick-list li.has-qty { background: #fff8e6; }
.pick-list .pg { background: var(--bg-alt); font-weight: 700; font-size: .85rem; color: var(--primary-dark); padding: 5px 10px; position: sticky; top: 0; z-index: 1; }
.pick-list .pi-txt { flex: 1; min-width: 0; line-height: 1.5; font-size: .95rem; }
.pick-list .pi-txt small { display: block; color: var(--muted); direction: ltr; text-align: right; }
.form-group .pick-list input { width: 76px; flex: none; text-align: center; padding: 6px; }
.pick-empty { padding: 14px; color: var(--muted); text-align: center; }
.pick-summary { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.pick-summary.ok { color: #15803d; font-weight: 700; }
.picker.invalid-box .pick-list { border-color: #dc2626; }
.order-box { margin-top: 8px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 10px 14px; }
.order-box ol { padding-right: 20px; list-style: decimal; margin-top: 4px; font-size: .92rem; line-height: 1.6; }
.order-box .oc { color: var(--muted); font-size: .85rem; direction: ltr; }
.order-box .oq { display: inline-block; background: var(--primary); color: #fff; border-radius: 6px; padding: 0 8px; font-size: .85rem; margin-right: 4px; }
/* الكمية المطلوبة قبل زرار الواتساب */
.p-qty { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.p-qty-label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.p-qty-ctrl { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.p-qty-ctrl input { flex: 1; min-width: 0; width: 100%; border: 0; text-align: center; font: inherit; font-weight: 800; font-size: 1rem; padding: 6px 4px; color: var(--primary); -moz-appearance: textfield; }
.p-qty-ctrl input::-webkit-outer-spin-button, .p-qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.p-qty-ctrl input:focus { outline: none; background: var(--bg-alt); }
.p-qty-btn { width: 38px; border: 0; background: var(--bg-alt); color: var(--primary); font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.p-qty-btn:hover { background: #e6ebf5; }
.p-qty + .p-wa { margin-top: 6px; }
.p-wa.is-off { background: #c9ced6; color: #fff; cursor: not-allowed; }
.p-wa.is-off:hover { background: #c9ced6; }
.p-qty-shake { animation: pQtyShake .35s; }
.p-qty-shake .p-qty-ctrl { border-color: #e0a100; }
@keyframes pQtyShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (max-width: 560px) { .p-qty-btn { width: 32px; } .p-qty-ctrl input { font-size: .95rem; } }
