/* ==========================================================================
   إرتواء الندى — مكوّنات المتجر
   شريط الأقسام · الطلب السريع · صفحة القسم وشاشة العرض · خريطة أقرب مزوّد
   يُحمّل بعد site.css ويعتمد على نفس متغيرات main.css.
   ========================================================================== */

/* ------------------------------------------- 1. شريط الأقسام الرئيسية --- */
.section-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 55;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.section-bar > .container {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
}
.section-bar-label {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan-500);
}
.section-bar-track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 8px;
}
.section-bar-track::-webkit-scrollbar { display: none; }

.section-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.section-tab:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.section-tab.is-active { background: var(--cyan-500); border-color: var(--cyan-500); color: var(--navy-900); }

.section-tab .ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  color: var(--cyan-500);
}
.section-tab.is-active .ico { background: rgba(0, 30, 64, .14); color: var(--navy-900); }
.section-tab .ico svg { width: 16px; height: 16px; }
.section-tab .txt { display: flex; flex-direction: column; line-height: 1.35; }
.section-tab .t { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.section-tab .p { font-size: 11px; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.section-tab .p strong { color: var(--cyan-500); font-weight: 700; }
.section-tab.is-active .p { color: rgba(0, 30, 64, .72); }
.section-tab.is-active .p strong { color: var(--navy-900); }

.section-bar-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
}
.section-bar-map:hover { color: var(--cyan-500); }
.section-bar-map svg { width: 17px; height: 17px; color: var(--cyan-500); }

/* --------------------------------- 2. قائمة «الأقسام» في شريط التنقل --- */
.nav-drop { position: relative; }
.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  padding-block: 6px;
}
.nav-drop-trigger:hover { color: var(--navy-700); }
.nav-drop-trigger.is-active { color: var(--blue-600); }
.nav-drop-trigger svg { width: 15px; height: 15px; transition: transform .16s var(--ease); }
.nav-drop.is-open .nav-drop-trigger svg { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  inset-inline-start: 50%;
  top: calc(100% + 14px);
  transform: translateX(50%) translateY(-6px);
  width: 320px;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
body[dir="ltr"] .nav-drop-menu { transform: translateX(-50%) translateY(-6px); }
.nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(50%) translateY(0); }
body[dir="ltr"] .nav-drop.is-open .nav-drop-menu { transform: translateX(-50%) translateY(0); }

.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  transition: background .14s var(--ease);
}
.nav-drop-menu a:hover { background: var(--surface-2); }
.nav-drop-menu .ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--cyan-100);
  color: var(--cyan-600);
}
.nav-drop-menu .ico svg { width: 19px; height: 19px; }
.nav-drop-menu .t { display: block; font-size: 14px; font-weight: 700; color: var(--navy-900); }
.nav-drop-menu .p { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.nav-drop-menu .p strong { color: var(--cyan-600); }
.nav-drop-sep { height: 1px; background: var(--border); margin: 6px 12px; }
.nav-drop-menu .is-all .ico { background: var(--surface-2); color: var(--text-2); }

/* ------------------------------------------------- 3. الشعار والهيرو --- */
.footer-logo { display: block; width: 176px; margin-bottom: 18px; }
.footer-logo img { width: 100%; height: auto; }

/* صورة بطاقة القسم وعنوانها صارا روابط تفتح صفحة القسم */
a.svc-media { display: block; }
.svc-body h3 a { color: inherit; transition: color .16s var(--ease); }
.svc-body h3 a:hover { color: var(--blue-600); }
.svc-row-media > a { display: block; }
.svc-row h3 a { color: inherit; transition: color .16s var(--ease); }
.svc-row h3 a:hover { color: var(--blue-600); }

.hero-svc .price { flex: none; text-align: center; line-height: 1.3; max-width: 92px; }
.hero-svc .price .k { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .6); }
.hero-svc .price strong { font-size: 16px; font-weight: 800; color: var(--cyan-500); }
.hero-svc .price .u { display: block; font-size: 9.5px; color: rgba(255, 255, 255, .55); }

.quick-option .p { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.quick-option .p .u { font-size: 9.5px; color: rgba(255, 255, 255, .55); }

/* --------------------------------------- 4. قل لنا ما الذي تحتاجه --- */
.quick-request {
  position: relative;
  overflow: hidden;
  padding-block: 68px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 62%, var(--blue-700));
  color: #fff;
}
.quick-request::after {
  content: "";
  position: absolute;
  inset-block: -40%;
  inset-inline-start: -10%;
  width: 46%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 206, 209, .22), transparent 68%);
}
.quick-request > .container { position: relative; z-index: 1; }

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px;
  align-items: center;
}
.quick-copy .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan-500);
  margin-bottom: 12px;
}
.quick-copy h2 { font-size: 34px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.quick-copy > p { margin-top: 14px; font-size: 15px; line-height: 1.9; color: rgba(255, 255, 255, .76); max-width: 52ch; }

.quick-points { margin-top: 26px; display: grid; gap: 12px; }
.quick-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.quick-points svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--cyan-500); }

.quick-form {
  padding: 26px;
  border-radius: var(--r-2xl);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
}
.quick-form-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.quick-form .field label { color: rgba(255, 255, 255, .8); }
.quick-form .select { background-color: rgba(255, 255, 255, .96); border-color: rgba(255, 255, 255, .3); }

.quick-picker { display: grid; gap: 10px; }
.quick-option { position: relative; display: block; }
.quick-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.quick-option .box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.quick-option .box:hover { background: rgba(255, 255, 255, .12); }
.quick-option input:checked + .box { border-color: var(--cyan-500); background: rgba(0, 206, 209, .16); }
.quick-option input:focus-visible + .box { outline: 2px solid var(--cyan-500); outline-offset: 2px; }
.quick-option .ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  color: var(--cyan-500);
}
.quick-option input:checked + .box .ico { background: var(--cyan-500); color: var(--navy-900); }
.quick-option .ico svg { width: 18px; height: 18px; }
.quick-option .t { flex: 1; font-size: 14px; font-weight: 700; }
.quick-option .p { font-size: 11.5px; color: rgba(255, 255, 255, .66); white-space: nowrap; }
.quick-option .p strong { color: var(--cyan-500); font-size: 14px; }

.quick-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
}
.quick-map-link:hover { color: var(--cyan-500); }
.quick-map-link svg { width: 16px; height: 16px; color: var(--cyan-500); }

/* ------------------------------------ 5. كتلة الخريطة في الرئيسية --- */
.map-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.map-teaser-media {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
}
.map-teaser-media img { width: 100%; height: 340px; object-fit: cover; }
.map-teaser-badge {
  position: absolute;
  inset-block-end: 16px;
  inset-inline-start: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: rgba(0, 30, 64, .92);
  color: #fff;
  font-size: 12.5px;
}
.map-teaser-badge svg { width: 18px; height: 18px; color: var(--cyan-500); }
.map-teaser-badge strong { color: var(--cyan-500); font-size: 16px; margin-inline-end: 4px; }
.map-teaser .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan-600);
  margin-bottom: 12px;
}
.map-teaser h2 { font-size: 30px; font-weight: 700; line-height: 1.35; color: var(--navy-900); letter-spacing: -.015em; }
.map-teaser p { margin-top: 14px; font-size: 15px; line-height: 1.9; color: var(--text-2); }

/* ------------------------------- 6. صفحة القسم — السعر أولاً --- */
.svc-head {
  padding-block: 40px 46px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.svc-head .crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.svc-head .crumbs a:hover { color: var(--blue-600); }
.svc-head .crumbs svg { width: 14px; height: 14px; }

.svc-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 40px;
  align-items: center;
  margin-top: 22px;
}
.svc-head-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--cyan-100);
  color: var(--cyan-600);
  font-size: 12.5px;
  font-weight: 700;
}
.svc-head-eyebrow svg { width: 16px; height: 16px; }
.svc-head h1 {
  margin-top: 16px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--navy-900);
  letter-spacing: -.02em;
}
.svc-head-intro > p {
  margin-top: 14px;
  max-width: 60ch;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text-2);
}

/* بطاقة السعر — أول ما يقع عليه النظر داخل القسم */
.price-lead {
  padding: 26px;
  border-radius: var(--r-2xl);
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #fff;
  box-shadow: var(--sh-navy);
}
.price-lead .k { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.price-lead .v { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.price-lead .v .num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--cyan-500);
  letter-spacing: -.02em;
}
.price-lead .v .u { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.price-lead .s { margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .64); min-height: 1.6em; }
.price-lead-call {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .26);
  color: #fff;
}
.price-lead-call:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* ------------------------------- 7. شاشة العرض المتحركة --- */
.showcase { max-width: 940px; margin-inline: auto; }
.showcase-stage {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--sh-lg);
}
.showcase-track { position: relative; aspect-ratio: 16 / 9; }

.showcase-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity .7s var(--ease), transform 7s linear, visibility .7s;
}
.showcase-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.showcase-slide img { width: 100%; height: 100%; object-fit: cover; }
.showcase-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 30, 64, .94) 4%, rgba(0, 30, 64, .35) 46%, transparent 74%);
}

.showcase-slide figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  color: #fff;
  flex-wrap: wrap;
}
.showcase-slide .line .t { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.showcase-slide .line .d { display: block; margin-top: 5px; font-size: 13px; color: rgba(255, 255, 255, .74); }
.showcase-slide .price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(0, 206, 209, .16);
  border: 1px solid rgba(0, 206, 209, .45);
}
.showcase-slide .price .num { font-size: 26px; font-weight: 800; color: var(--cyan-500); }
.showcase-slide .price .u { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .84); }

.showcase-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background .16s var(--ease);
}
.showcase-nav:hover { background: rgba(255, 255, 255, .3); }
.showcase-nav svg { width: 20px; height: 20px; }
.showcase-nav.is-prev { inset-inline-start: 16px; }
.showcase-nav.is-next { inset-inline-end: 16px; }

.showcase-dots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.showcase-dot { text-align: start; padding-top: 10px; }
.showcase-dot .bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--surface-3);
  overflow: hidden;
}
.showcase-dot .fill { display: block; height: 100%; width: 0; background: var(--cyan-500); }
.showcase-dot.is-active .bar { background: var(--cyan-100); }
.showcase-dot .lbl {
  display: block;
  margin-top: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-3);
  transition: color .16s var(--ease);
}
.showcase-dot.is-active .lbl { color: var(--navy-900); }

/* الحركة التلقائية تتوقف لمن يطلب تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .showcase-slide { transition: opacity .01s, visibility .01s; transform: none; }
  .showcase-slide.is-active { transform: none; }
}

/* ------------------------------- 8. باقات القسم كبطاقات ثابتة --- */
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}
.plan-card:hover { border-color: var(--cyan-500); transform: translateY(-3px); box-shadow: var(--sh-md); }
.plan-card .t { font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
.plan-card .p { display: flex; align-items: baseline; gap: 6px; }
.plan-card .p strong { font-size: 24px; font-weight: 800; color: var(--cyan-600); }
.plan-card .p .u { font-size: 11.5px; color: var(--text-3); }
.plan-card .d { font-size: 12px; color: var(--text-3); line-height: 1.7; }
.plan-card .go { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--blue-600); }
.plan-note { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--text-3); }

/* ------------------------------- 9. تفاصيل القسم ومواصفاته --- */
.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.svc-detail-body { font-size: 15px; line-height: 1.95; color: var(--text-2); }

.spec-panel {
  position: sticky;
  top: calc(var(--header-h) + 78px);
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}
.spec-panel h3 { font-size: 16px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 13px;
  border-top: 1px solid var(--border);
}
.spec-row .k { font-size: 13px; color: var(--text-3); }
.spec-row .v { font-size: 13.5px; font-weight: 700; color: var(--navy-900); text-align: end; }

/* ------------------------------- 10. القسم المقفل في صفحة الطلب --- */
.svc-locked {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--cyan-500);
  background: linear-gradient(120deg, var(--cyan-100), var(--surface) 70%);
  flex-wrap: wrap;
}
.svc-locked .ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--cyan-500);
  color: var(--navy-900);
}
.svc-locked .ico svg { width: 23px; height: 23px; }
.svc-locked .grow { flex: 1; min-width: 200px; }
.svc-locked .t { display: block; font-size: 16px; font-weight: 700; color: var(--navy-900); }
.svc-locked .d { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.75; color: var(--text-2); }
.svc-locked .price { text-align: end; }
.svc-locked .price .k { display: block; font-size: 11.5px; color: var(--text-3); }
.svc-locked .price strong { font-size: 20px; font-weight: 800; color: var(--cyan-600); }
.svc-locked .price .u { font-size: 11.5px; font-weight: 600; color: var(--text-3); }

/* ------------------------------- 11. خريطة أقرب مزوّد --- */
.page-hero.is-tight { padding-block: 36px 28px; }

.map-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: end;
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}
.map-filters-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.map-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--cyan-100);
  border: 1px solid var(--cyan-200);
  color: var(--navy-900);
  font-size: 13.5px;
  font-weight: 600;
}
.map-status.is-error { background: var(--amber-050); border-color: #FDE68A; color: #92400E; }

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.map-shell {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  background: var(--surface-2);
}
.map-canvas { height: 560px; width: 100%; }

.map-fallback {
  display: none;
  place-items: center;
  align-content: center;
  gap: 12px;
  height: 360px;
  padding: 30px;
  text-align: center;
}
.map-fallback.is-shown { display: grid; }
.map-fallback svg { width: 40px; height: 40px; color: var(--border-2); }
.map-fallback p { font-size: 13.5px; color: var(--text-2); max-width: 44ch; line-height: 1.85; }

.map-list {
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  max-height: 560px;
  overflow-y: auto;
}
.map-list-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.map-list-head h2 { font-size: 17px; font-weight: 700; color: var(--navy-900); }
.map-list-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--cyan-600);
  font-weight: 600;
}
.map-list-note svg { width: 16px; height: 16px; }

.provider-list { margin-top: 8px; }
.provider-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-top: 1px solid var(--border);
}
.provider-card.is-active {
  background: var(--cyan-100);
  border-radius: var(--r-md);
  padding-inline: 12px;
  border-top-color: transparent;
}
.provider-focus { flex: none; }
.provider-card .pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background .16s var(--ease);
}
.provider-focus:hover .pin { background: var(--cyan-600); }
.provider-card.is-active .pin { background: var(--cyan-600); }
.provider-card .grow { flex: 1; min-width: 0; }
.provider-card .n { font-size: 14px; font-weight: 700; color: var(--navy-900); }
.provider-card .r { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.provider-card .t {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 12px;
  color: var(--blue-600);
  font-weight: 600;
}
.provider-card .t svg { width: 13px; height: 13px; }
.provider-card .dist { flex: none; text-align: center; line-height: 1.25; }
.provider-card .dist .num { display: block; font-size: 17px; font-weight: 800; color: var(--cyan-600); }
.provider-card .dist .u { font-size: 10.5px; color: var(--text-3); }

/* دبوس مخصّص فوق طبقة Leaflet */
.provider-pin { background: none; border: 0; }
.provider-pin span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(45deg);
  background: var(--navy-700);
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 30, 64, .35);
  color: #fff;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
}
.provider-pin.is-active span { background: var(--cyan-600); }

.map-popup { font-family: var(--font-ar); direction: rtl; text-align: start; min-width: 170px; }
.map-popup .n { font-size: 14px; font-weight: 700; color: var(--navy-900); }
.map-popup .r { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.map-popup a { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--blue-600); }
.leaflet-container { font-family: var(--font-ar); }

/* ------------------------------------------------- 12. الاستجابة --- */
@media (max-width: 1080px) {
  .quick-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .map-teaser { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .svc-head-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .svc-detail { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .spec-panel { position: static; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .map-canvas { height: 420px; }
  .map-list { max-height: none; }
  .map-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-filters-actions { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section-bar { position: static; }
  .section-bar > .container { flex-wrap: wrap; gap: 10px; min-height: 0; padding-block: 12px; }
  .section-bar-label { font-size: 11px; }
  .section-bar-map { width: 100%; justify-content: center; padding-top: 4px; }
  .nav-drop-menu { width: 280px; }

  .quick-request { padding-block: 48px; }
  .quick-copy h2 { font-size: 26px; }
  .quick-form { padding: 20px; }

  .map-teaser h2 { font-size: 24px; }
  .map-teaser-media img { height: 220px; }

  .svc-head h1 { font-size: 28px; }
  .price-lead { padding: 20px; }
  .price-lead .v .num { font-size: 36px; }

  .showcase-track { aspect-ratio: 4 / 3; }
  .showcase-slide figcaption { padding: 20px; gap: 12px; }
  .showcase-slide .line .t { font-size: 17px; }
  .showcase-slide .price { padding: 8px 14px; }
  .showcase-slide .price .num { font-size: 21px; }
  .showcase-nav { width: 36px; height: 36px; }
  .showcase-dots { grid-auto-flow: row; gap: 8px; }
  .showcase-dot .lbl { margin-top: 6px; }

  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .map-filters { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .map-canvas { height: 340px; }
  .svc-locked .price { text-align: start; }
}

/* ==========================================================================
   13. تخطيط المتجر — شاشة العرض · البوابتان · أيقونة الموقع · رحلة الطلب
   ========================================================================== */

/* ------------------------------------------- 13.1 شريط البوابتين --- */
.gateway-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-xs);
}
.gateway-bar > .container {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-height: 66px;
  padding-block: 9px;
}

.gateway-tab-wrap { position: relative; display: flex; align-items: stretch; flex: 1 1 0; min-width: 0; }

.gateway-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.gateway-tab:hover { border-color: var(--blue-400); box-shadow: var(--sh-sm); }
.gateway-tab.is-active { border-color: var(--blue-600); background: var(--blue-050); }

.gateway-tab .ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--blue-050);
  color: var(--blue-600);
}
.gateway-tab .ico svg { width: 22px; height: 22px; }
.gateway-tab.is-business .ico { background: var(--cyan-100); color: var(--cyan-600); }

.gateway-tab .txt { min-width: 0; }
.gateway-tab .t {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}
.gateway-tab .s {
  display: block;
  font-size: 11.5px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gateway-tab-more {
  display: grid;
  place-items: center;
  width: 34px;
  flex: none;
  margin-inline-start: 4px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  transition: background .16s var(--ease);
}
.gateway-tab-more:hover { background: var(--surface-2); }
.gateway-tab-more svg { width: 18px; height: 18px; }

.nav-drop-menu.is-gateway { width: 300px; }
.nav-drop-menu.is-gateway a.is-active { background: var(--blue-050); }

/* أيقونة الموقع — بارزة دائماً في أقصى الشريط */
.gateway-locate {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  padding: 8px 18px 8px 14px;
  border-radius: var(--r-lg);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--sh-navy);
  transition: transform .16s var(--ease);
}
.gateway-locate:hover { transform: translateY(-1px); }
.gateway-locate.is-active { background: var(--blue-700); }

.gateway-locate .pin {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan-500);
  color: var(--navy-900);
  animation: locate-pulse 2.6s var(--ease) infinite;
}
.gateway-locate .pin svg { width: 21px; height: 21px; }
.gateway-locate .t { display: block; font-size: 14px; font-weight: 700; }
.gateway-locate .s { display: block; font-size: 11px; color: rgba(255, 255, 255, .72); }

@keyframes locate-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 206, 209, .55); }
  60%      { box-shadow: 0 0 0 9px rgba(0, 206, 209, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .gateway-locate .pin { animation: none; }
}

/* أيقونة الموقع في الهيدر */
.icon-btn.is-locate { color: var(--blue-600); }
.icon-btn.is-locate:hover { background: var(--blue-050); }
.icon-btn.is-locate.is-active { background: var(--blue-600); color: #fff; }

/* --------------------------------------------- 13.2 شاشة العرض --- */
.offer-screen {
  padding-block: 34px 44px;
  background: linear-gradient(180deg, var(--bg-tint), var(--bg));
}
.offer-screen-head { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.offer-screen-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--cyan-100);
  color: var(--cyan-600);
  font-size: 12px;
  font-weight: 700;
}
.offer-screen-head .eyebrow svg { width: 15px; height: 15px; }
.offer-screen-head h1 {
  margin: 14px 0 8px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy-900);
}
.offer-screen-head p { margin: 0; font-size: 15px; color: var(--text-2); }

.showcase.is-offers { max-width: 1000px; }
.showcase.is-offers .showcase-track { aspect-ratio: 21 / 9; }

.offer-badge {
  position: absolute;
  z-index: 3;
  top: 16px;
  inset-inline-start: 16px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--cyan-500);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
}
.showcase-slide .price s {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  text-decoration-thickness: 1.5px;
}
.offer-cta { flex: none; }

/* شريط صور المنتجات أسفل شاشة العرض */
.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.product-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.product-chip:hover { border-color: var(--blue-400); box-shadow: var(--sh-sm); }
.product-chip img {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: var(--r-md);
  object-fit: cover;
}
.product-chip .txt { min-width: 0; flex: 1 1 auto; }
.product-chip .t {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-chip .s { display: block; font-size: 11.5px; color: var(--text-3); }
.product-chip .p { flex: none; text-align: end; }
.product-chip .p .num { font-size: 17px; font-weight: 800; color: var(--blue-600); }
.product-chip .p .u { display: block; font-size: 10.5px; color: var(--text-3); }

/* --------------------------------------------- 13.3 البوابتان --- */
.gateways { padding-block: 56px; }

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.gateway {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.gateway:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }

.gateway-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
  background: var(--navy-900);
  color: #fff;
}
.gateway.is-business .gateway-head { background: var(--blue-700); }

.gateway-head .ico {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--cyan-500);
}
.gateway-head .ico svg { width: 32px; height: 32px; }

.gateway-head .txt { flex: 1 1 auto; min-width: 0; }
.gateway-head .n {
  display: inline-block;
  min-width: 22px;
  padding: 1px 7px;
  margin-bottom: 5px;
  border-radius: var(--r-sm);
  background: var(--cyan-500);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
}
.gateway-head .t { display: block; font-size: 23px; font-weight: 800; letter-spacing: -.01em; }
.gateway-head .s { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .74); }
.gateway-head .go { flex: none; color: rgba(255, 255, 255, .6); }
.gateway-head .go svg { width: 22px; height: 22px; }
.gateway-head:hover .go { color: var(--cyan-500); }

.gateway-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 18px;
  flex: 1 1 auto;
}
.gateway-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.gateway-item:hover { background: var(--blue-050); border-color: var(--blue-400); }
.gateway-item .ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--navy-700);
}
.gateway-item .ico svg { width: 18px; height: 18px; }
.gateway-item .t {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gateway-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
}
.gateway-foot:hover { background: var(--blue-050); }
.gateway-foot svg { width: 17px; height: 17px; }

/* ----------------------------------------- 13.4 أيقونة الموقع --- */
.locator { padding-block: 0 56px; }

.locator-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 28px;
  padding: 30px;
  border-radius: var(--r-2xl);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--sh-navy);
}

.locator-pin {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan-500);
  color: var(--navy-900);
  animation: locate-pulse 2.6s var(--ease) infinite;
}
.locator-pin svg { width: 42px; height: 42px; }
@media (prefers-reduced-motion: reduce) { .locator-pin { animation: none; } }

.locator-copy .eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(0, 206, 209, .18);
  color: var(--cyan-500);
  font-size: 11.5px;
  font-weight: 700;
}
.locator-copy h2 { margin: 12px 0 8px; font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.locator-copy p { margin: 0; font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, .74); }

.locator-modes { display: grid; gap: 10px; }
.locator-mode {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.locator-mode:hover { background: rgba(255, 255, 255, .14); border-color: rgba(0, 206, 209, .6); }
.locator-mode.is-primary { background: rgba(0, 206, 209, .16); border-color: rgba(0, 206, 209, .5); }

.locator-mode .ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .1);
  color: var(--cyan-500);
}
.locator-mode .ico svg { width: 20px; height: 20px; }
.locator-mode .txt { flex: 1 1 auto; min-width: 0; }
.locator-mode .t { display: block; font-size: 14px; font-weight: 700; }
.locator-mode .s { display: block; margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .66); }
.locator-mode .go { flex: none; width: 16px; height: 16px; color: rgba(255, 255, 255, .5); }

/* ------------------------------------ 13.5 تسلسل البيع المختصر --- */
.tier-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.tier-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.tier-step:hover { border-color: var(--blue-400); box-shadow: var(--sh-sm); }
.tier-step .n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--cyan-500);
  font-size: 13px;
  font-weight: 800;
}
.tier-step .t { font-size: 12.5px; font-weight: 600; line-height: 1.6; color: var(--text-2); }

.tier-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  border-inline-start: 3px solid var(--cyan-600);
  background: var(--cyan-050);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
}
.tier-note svg { width: 19px; height: 19px; flex: none; color: var(--cyan-600); }

/* ------------------------------- 13.6 رحلة الطلب (خطوات الصفحات) --- */
.journey-trail { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.journey-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.journey-chip svg { width: 15px; height: 15px; color: var(--cyan-500); }

.head-pin { width: 26px; height: 26px; color: var(--cyan-500); vertical-align: -4px; margin-inline-end: 6px; }

.journey-step {
  padding: 24px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
}
.journey-step.is-current { border-color: var(--blue-400); box-shadow: var(--sh-md); }
.journey-step.is-done { background: var(--surface-2); }

.journey-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.journey-step-head > div { flex: 1 1 240px; min-width: 0; }
.journey-step-head h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--navy-900); }
.journey-step-head .n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--cyan-500);
  font-size: 15px;
  font-weight: 800;
}
.journey-step.is-done .journey-step-head .n { background: var(--green-600); color: #fff; }

.journey-picked {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--green-050);
  color: var(--green-600);
  font-size: 13px;
  font-weight: 700;
}
.journey-picked svg { width: 16px; height: 16px; }

/* ------------------------------------------- 13.7 شبكة الأقسام --- */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.segment-grid.is-business { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.segment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.segment-card:hover { transform: translateY(-2px); border-color: var(--blue-400); box-shadow: var(--sh-md); }
.segment-card.is-active { border-color: var(--blue-600); background: var(--blue-050); box-shadow: var(--sh-md); }

.segment-card .ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--cyan-050);
  color: var(--blue-600);
}
.segment-card .ico svg { width: 28px; height: 28px; }
.segment-card.is-active .ico { background: var(--blue-600); color: #fff; }

.segment-card .t { font-size: 15px; font-weight: 700; color: var(--navy-900); }
.segment-card .s { font-size: 12px; line-height: 1.7; color: var(--text-3); }
.segment-card .tier {
  align-self: flex-start;
  margin-top: auto;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
}

/* ------------------------------------- 13.8 بطاقات طريقة الشراء --- */
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.mode-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 18px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.mode-card:hover { transform: translateY(-2px); border-color: var(--blue-400); box-shadow: var(--sh-md); }
.mode-card.is-active { border-color: var(--blue-600); background: var(--blue-050); }
.mode-card.is-nearest { border-color: var(--cyan-200); }

.mode-card .ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--r-lg);
  background: var(--cyan-100);
  color: var(--cyan-600);
}
.mode-card .ico svg { width: 24px; height: 24px; }
.mode-card.is-instant .ico { background: var(--green-050); color: var(--green-600); }
.mode-card.is-direct .ico  { background: var(--blue-050); color: var(--blue-600); }

.mode-card .txt { flex: 1 1 auto; min-width: 0; }
.mode-card .t { display: block; font-size: 15px; font-weight: 700; color: var(--navy-900); }
.mode-card .s { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.75; color: var(--text-3); }
.mode-card .go { flex: none; color: var(--text-3); }
.mode-card .go svg { width: 18px; height: 18px; }

.mode-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-2);
}
.mode-hint svg { width: 17px; height: 17px; flex: none; color: var(--blue-600); }

/* --------------------------------------------- 13.9 بطاقات العروض --- */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.offer-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }

.offer-media { position: relative; display: block; aspect-ratio: 16 / 10; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-media .tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--cyan-500);
  color: var(--navy-900);
  font-size: 11.5px;
  font-weight: 800;
}

.offer-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1 1 auto; }
.offer-body h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--navy-900); }
.offer-body p { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--text-3); }

.offer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.offer-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.offer-price s { font-size: 13px; color: var(--text-3); }
.offer-price .num { font-size: 20px; font-weight: 800; color: var(--blue-600); }
.offer-price .u { font-size: 11.5px; font-weight: 600; color: var(--text-3); margin-inline-start: 4px; }

/* -------------------------------------- 13.10 بطاقات المزوّدين --- */
.provider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.provider-tile {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.provider-tile .ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--cyan-050);
  color: var(--blue-600);
}
.provider-tile .ico svg { width: 22px; height: 22px; }
.provider-tile .t { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
.provider-tile .s {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--text-3);
}
.provider-tile .s svg { width: 14px; height: 14px; }
.provider-tile .s .dot { color: var(--border-2); }

/* زر الشراء داخل بطاقة المزوّد في قائمة الخريطة */
.provider-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--cyan-100);
  color: var(--cyan-600);
  font-size: 12px;
  font-weight: 700;
}
.provider-buy:hover { background: var(--cyan-200); }
.provider-buy svg { width: 15px; height: 15px; }

.map-popup-buy {
  display: block;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: var(--navy-900);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* الشراء المباشر دون تحديد مزوّد — أعلى صفحة الخريطة */
.direct-buy { padding-block: 22px 0; }
.direct-buy-band {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: var(--r-xl);
  border: 1px dashed var(--cyan-600);
  background: var(--cyan-050);
}
.direct-buy-band .ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--cyan-600);
}
.direct-buy-band .ico svg { width: 24px; height: 24px; }
.direct-buy-band .grow { flex: 1 1 260px; min-width: 0; }
.direct-buy-band .t { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy-900); }
.direct-buy-band .s { margin: 3px 0 0; font-size: 12.5px; color: var(--text-2); }

/* ------------------------------------------------ 13.11 الضيف --- */
.guest-band {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.guest-band .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-lg);
  background: var(--green-050);
  color: var(--green-600);
}
.guest-band .ico svg { width: 25px; height: 25px; }
.guest-band .grow { flex: 1 1 280px; min-width: 0; }
.guest-band .t { margin: 0; font-size: 16px; font-weight: 700; color: var(--navy-900); }
.guest-band .s { margin: 4px 0 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }

.guest-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--cyan-200);
  background: var(--cyan-050);
  transition: border-color .16s var(--ease);
}
.guest-inline:hover { border-color: var(--cyan-600); }
.guest-inline .ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--cyan-600);
}
.guest-inline .ico svg { width: 20px; height: 20px; }
.guest-inline .grow { flex: 1 1 auto; min-width: 0; }
.guest-inline .t { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.guest-inline .s { display: block; margin-top: 2px; font-size: 12px; color: var(--text-2); }
.guest-inline > svg { width: 18px; height: 18px; flex: none; color: var(--cyan-600); }

/* مربع «سجّلني كضيف» داخل نموذج الطلب */
.guest-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
}
.guest-opt input { position: absolute; opacity: 0; pointer-events: none; }
.guest-opt .box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-2);
  background: var(--surface);
  color: transparent;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.guest-opt .box svg { width: 15px; height: 15px; }
.guest-opt input:checked + .box {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
}
.guest-opt input:focus-visible + .box { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.guest-opt .t { display: block; font-size: 14px; font-weight: 700; color: var(--navy-900); }
.guest-opt .s { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.75; color: var(--text-2); }

.guest-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 13px 16px;
  border-radius: var(--r-lg);
  background: var(--green-050);
  color: var(--green-600);
  font-size: 13px;
  font-weight: 600;
}
.guest-note svg { width: 18px; height: 18px; flex: none; }

.label-opt {
  margin-inline-start: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
}

.field-note { margin: 7px 0 0; font-size: 11.5px; color: var(--text-3); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); }
.check-list svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--green-600); }

/* ------------------------------ 13.12 ملخص الرحلة وقسمة العمولة --- */
.panel.is-journey { border-color: var(--cyan-200); }
.panel.is-journey .h-panel { display: flex; align-items: center; gap: 8px; }
.panel.is-journey .h-panel svg { width: 20px; height: 20px; color: var(--cyan-600); }

.journey-summary { display: grid; gap: 2px; }
.js-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
}
.js-row:last-child { border-bottom: 0; }
.js-row .k { font-size: 13px; color: var(--text-2); }
.js-row .v {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-900);
  text-align: end;
}
.js-row .v svg { width: 17px; height: 17px; flex: none; color: var(--blue-600); }

.split-bars { display: grid; gap: 10px; }
.split-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  overflow: hidden;
}
.split-bar::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--w, 0%);
  background: var(--blue-050);
}
.split-bar.is-platform::before { background: var(--cyan-100); }
.split-bar.is-a::before { background: var(--blue-050); }
.split-bar.is-b::before { background: var(--green-050); }
.split-bar .k,
.split-bar .v { position: relative; z-index: 1; }
.split-bar .k { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.split-bar .v { font-size: 16px; font-weight: 800; color: var(--navy-900); }

/* --------------------------------------------- 13.13 الاستجابة --- */
@media (max-width: 1080px) {
  .gateway-grid { grid-template-columns: minmax(0, 1fr); }
  .locator-band { grid-template-columns: auto minmax(0, 1fr); }
  .locator-modes { grid-column: 1 / -1; }
  .segment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .segment-grid.is-business { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase.is-offers .showcase-track { aspect-ratio: 16 / 9; }
}

@media (max-width: 860px) {
  .gateway-bar { position: static; }
  .gateway-bar > .container { flex-wrap: wrap; }
  .gateway-tab-wrap { flex: 1 1 100%; }
  .gateway-locate { flex: 1 1 100%; justify-content: center; }
  .gateway-tab .s { white-space: normal; }
}

@media (max-width: 720px) {
  .offer-screen-head h1 { font-size: 26px; }
  .showcase.is-offers .showcase-track { aspect-ratio: 4 / 3; }
  .offer-cta { width: 100%; justify-content: center; }

  .product-strip { grid-template-columns: minmax(0, 1fr); }
  .gateway-list { grid-template-columns: minmax(0, 1fr); }
  .gateway-head { padding: 20px 18px; }
  .gateway-head .t { font-size: 20px; }

  .locator-band { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px; text-align: center; }
  .locator-pin { margin-inline: auto; }
  .locator-mode { text-align: start; }

  .segment-grid,
  .segment-grid.is-business { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segment-card { padding: 16px 14px; }
  .segment-card .s { display: none; }

  .mode-grid { grid-template-columns: minmax(0, 1fr); }
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .provider-grid { grid-template-columns: minmax(0, 1fr); }
  .tier-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-step { padding: 18px 16px; }
}

@media (max-width: 420px) {
  .segment-grid,
  .segment-grid.is-business { grid-template-columns: minmax(0, 1fr); }
  .tier-rail { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------- 13.14 تسلسل البيع في صفحة «عن المتجر» --- */
.chain-list { display: grid; gap: 12px; margin-top: 28px; }

.chain-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--sh-xs);
}
.chain-item .n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--cyan-500);
  font-size: 16px;
  font-weight: 800;
}
.chain-item .n svg { width: 21px; height: 21px; }
.chain-item .grow { flex: 1 1 auto; min-width: 0; }
.chain-item h3 { margin: 6px 0 0; font-size: 17px; font-weight: 700; color: var(--navy-900); }
.chain-item.is-delivery { border-style: dashed; border-color: var(--cyan-600); background: var(--cyan-050); }

.chain-note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.9; color: var(--text-2); }

.chain-split { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chain-split .s {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-2);
}
.chain-split .s strong { font-size: 14px; font-weight: 800; }
.chain-split .is-platform { background: var(--cyan-100); color: var(--cyan-600); }
.chain-split .is-a { background: var(--blue-050); color: var(--blue-700); }
.chain-split .is-b { background: var(--green-050); color: var(--green-600); }
.chain-split .is-case { background: var(--navy-900); color: #fff; }

@media (max-width: 720px) {
  .chain-item { padding: 16px; gap: 12px; }
  .chain-item h3 { font-size: 15.5px; }
}
