/* =========================================================
   SH KARGO — نظام التصميم الموحد
   لون واحد للعلامة: الذهبي #E6BE7B على أسود دافئ
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=Noto+Kufi+Arabic:wght@600;800&display=swap");

:root {
  color-scheme: dark only;
  --gold: #E6BE7B;          /* اللون الوحيد للعلامة */
  --gold-ink: #1A140B;      /* نص فوق الذهبي */
  --ink: #12100D;           /* الخلفية */
  --surface: #1B1814;       /* الألواح */
  --raise: #25211B;         /* الحقول */
  --line: #3A3229;          /* الحدود */
  --paper: #F2ECE2;         /* النص الأساسي */
  --muted: #A69C8D;         /* النص الثانوي */
  --ok: #8CC49A;
  --err: #E58C7C;

  --font-body: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  --font-head: "Noto Kufi Arabic", "Archivo", sans-serif;
  --r-sm: 6px; --r-md: 10px; --r-lg: 18px;
  --wrap: 1160px;
}
html[lang="en"], html[lang="tr"] {
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-head: "Archivo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.7;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
html[lang="en"] h1, html[lang="tr"] h1 { letter-spacing: -.025em; }
p { margin: 0 0 1em; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 60ch; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 2.5rem; max-width: 62ch; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- الترويسة ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18,16,13,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--paper); font-family: "Archivo", sans-serif; font-weight: 800; letter-spacing: .04em; font-size: 1.05rem; }
.brand img { width: 30px; height: auto; }
.main-nav { display: flex; gap: .25rem; margin-inline-start: auto; }
.main-nav a { color: var(--muted); text-decoration: none; padding: .45rem .8rem; border-radius: var(--r-sm); font-size: .95rem; }
.main-nav a:hover { color: var(--paper); }
.main-nav a[aria-current="page"] { color: var(--gold); }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang-switch button { background: none; border: 0; color: var(--muted); font: 600 .8rem/1 "IBM Plex Sans", sans-serif; padding: .45rem .7rem; border-radius: 999px; cursor: pointer; min-width: 2.4rem; }
.lang-switch button[data-lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: .95rem; }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); width: 42px; height: 42px; padding: 0 10px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--paper); border-radius: 2px; }
@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .main-nav { position: absolute; inset-inline: 0; top: 68px; flex-direction: column; background: var(--ink); border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem; display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-tools { margin-inline-start: auto; }
}

/* ---------- الأزرار والحقول ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 1rem/1.2 var(--font-body); padding: .85rem 1.4rem; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--paper); color: var(--gold-ink); }
.btn-line { border-color: var(--line); color: var(--paper); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-wa { background: #25D366; color: #08200F; }
.btn-wa:hover { background: #3ee07c; color: #08200F; }
.btn-sm { padding: .5rem .85rem; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

label { display: block; font-size: .92rem; color: var(--paper); margin-bottom: .35rem; font-weight: 500; }
label .req { color: var(--gold); margin-inline-start: .2rem; }
input, select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--paper);
  background: var(--raise); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .8rem .9rem; min-height: 48px;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7A7164; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,190,123,.18); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 2.2rem; }
html[dir="rtl"] select { background-position: 13px 50%, 18px 50%; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: .25rem; accent-color: var(--gold); flex: none; }
.field { margin-bottom: 1.1rem; }
.field small { display: block; color: var(--muted); font-size: .82rem; margin-top: .3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 1rem; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.ltr { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input.ltr { text-align: right; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.alert { border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .95rem; margin-bottom: 1rem; }
.alert-err { background: rgba(229,140,124,.12); color: var(--err); border: 1px solid rgba(229,140,124,.35); }
.alert-ok { background: rgba(140,196,154,.12); color: var(--ok); border: 1px solid rgba(140,196,154,.35); }

/* ---------- البطل: التتبع + لوحة الخطوط ---------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.2vw, 3.3rem); }
.hero .lead { margin-bottom: 2rem; }
.track-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; max-width: 560px; }
.track-box label { color: var(--muted); font-weight: 400; }
.track-input { display: flex; gap: .5rem; }
.track-input input { font-size: 1.1rem; letter-spacing: .04em; direction: ltr; text-align: start; }
html[dir="rtl"] .track-input input { text-align: right; }
.track-input input::placeholder { letter-spacing: 0; }
.track-box .hint { color: var(--muted); font-size: .85rem; margin: .7rem 0 0; }
.hero-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; }
.hero-links { align-items: center; }
.hero-links a:not(.btn) { color: var(--paper); text-decoration-color: var(--gold); }

.route-board { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.route-board header { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.route-board header h2 { font-size: 1.05rem; margin: 0; }
.route-board header span { color: var(--muted); font-size: .85rem; }
.route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .85rem 1.25rem; border-bottom: 1px solid var(--line); }
.route:last-child { border-bottom: 0; }
.route .origin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); }
.route .path { position: relative; height: 2px; background-image: linear-gradient(to var(--dir-end, left), var(--gold) 50%, transparent 0); background-size: 10px 2px; opacity: .55; }
html[dir="ltr"] .route .path { --dir-end: right; }
.route .dest { display: flex; align-items: center; gap: .6rem; min-width: 9.5rem; }
.route .flag { font-size: 1.35rem; line-height: 1; }
.route .dest strong { display: block; font-weight: 600; }
.route .dest small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.route-board .plane { animation: fly 3.2s ease-in-out 1; }
@keyframes fly { from { opacity: 0; transform: translateX(var(--fly, 20px)); } to { opacity: 1; transform: none; } }

/* ---------- الخدمات: قائمة مقسمة لا بطاقات ---------- */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.svc:nth-child(odd) { padding-inline-end: 2rem; }
.svc:nth-child(even) { padding-inline-start: 2rem; border-inline-start: 1px solid var(--line); }
.svc svg { width: 30px; height: 30px; color: var(--gold); margin-top: .2rem; }
.svc h3 { margin-bottom: .15rem; }
.svc p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .svc-list { grid-template-columns: 1fr; } .svc:nth-child(n) { padding-inline: 0; border-inline-start: 0; } }

/* ---------- الخطوات (تسلسل حقيقي) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 3.2rem; }
.steps li::before { content: counter(s); position: absolute; top: 0; inset-inline-start: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 600 1rem "IBM Plex Sans", sans-serif; }
.steps li::after { content: ""; position: absolute; top: 1.2rem; inset-inline-start: 3.2rem; inset-inline-end: -1rem; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .25rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- من نحن ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-grid .logo-mark { justify-self: center; width: min(240px, 60%); opacity: .95; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 2.5rem; margin-top: 1.5rem; }
.stats div { border-inline-start: 2px solid var(--gold); padding-inline-start: .8rem; }
.stats b { display: block; font: 600 1.4rem/1.2 "IBM Plex Sans", sans-serif; }
.stats span { color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid .logo-mark { display: none; } .stats { grid-template-columns: repeat(2, auto); } }

/* ---------- شريط التسوق ---------- */
.band { background: var(--gold); color: var(--gold-ink); border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.75rem); display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { margin-bottom: .35rem; }
.band p { margin: 0; max-width: 55ch; }
.band .btn { background: var(--gold-ink); color: var(--gold); }
.band .btn:hover { background: #000; color: var(--paper); }

/* ---------- الفروع ---------- */
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.branch { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: var(--surface); }
.branch dl { margin: 1rem 0 1.25rem; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; }
.branch dt { color: var(--muted); font-size: .9rem; }
.branch dd { margin: 0; }
@media (max-width: 720px) { .branches { grid-template-columns: 1fr; } }

/* ---------- رأس الصفحات الداخلية ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* ---------- التتبع ---------- */
.track-page .track-box { max-width: none; }
.result { margin-top: 2rem; }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.timeline li { position: relative; padding-top: 2.6rem; text-align: center; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: .55rem; inset-inline: 0; height: 2px; background: var(--line); }
.timeline li:first-child::before { inset-inline-start: 50%; }
.timeline li:last-child::before { inset-inline-end: 50%; }
.timeline .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--ink); border: 2px solid var(--line); z-index: 1; }
.timeline li.done::before { background: var(--gold); }
.timeline li.done .dot { background: var(--gold); border-color: var(--gold); }
.timeline li.current .dot { box-shadow: 0 0 0 6px rgba(230,190,123,.2); }
.timeline li.done, .timeline li.current { color: var(--paper); }
.timeline strong { display: block; font-weight: 600; }
.timeline small { display: block; font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { text-align: start; padding: 0 0 1.25rem; padding-inline-start: 2.4rem; }
  .timeline li::before { top: 0; bottom: 0; height: auto; width: 2px; inset-inline-start: .55rem; inset-inline-end: auto; }
  .timeline li:first-child::before { inset-inline-start: .55rem; top: .6rem; }
  .timeline li:last-child::before { display: none; }
  .timeline .dot { left: auto; transform: none; inset-inline-start: 0; }
}
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.facts div { border-top: 1px solid var(--line); padding-top: .6rem; }
.facts dt { color: var(--muted); font-size: .85rem; }
.facts dd { margin: 0; font-weight: 500; }
.status-chip { display: inline-block; background: rgba(230,190,123,.14); color: var(--gold); border: 1px solid rgba(230,190,123,.4); padding: .2rem .7rem; border-radius: 999px; font-size: .85rem; }
.carriers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin-top: 1rem; }
.carrier { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--raise); color: var(--paper); text-decoration: none; font-weight: 600; font-family: "IBM Plex Sans", sans-serif; cursor: pointer; font-size: .95rem; }
.carrier:hover { border-color: var(--gold); color: var(--gold); }
#YQContainer { background: #fff; border-radius: var(--r-md); overflow: hidden; min-height: 80px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- الحاسبة ---------- */
.calc-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem 1.5rem; align-items: start; }
.calc-layout > aside.summary { grid-column: 2; grid-row: 1 / span 2; }
.calc-layout > .quote-form { grid-column: 1; grid-row: 2; margin-top: .5rem; }
@media (max-width: 960px) { .calc-layout { grid-template-columns: 1fr; } .calc-layout > aside.summary, .calc-layout > .quote-form { grid-column: 1; grid-row: auto; } .summary { position: static; } }
.pkg { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem; margin-bottom: .75rem; background: var(--raise); }
.pkg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.pkg-head strong { font-weight: 600; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr .7fr; gap: .6rem; }
.pkg-grid label { font-size: .78rem; color: var(--muted); font-weight: 400; }
.pkg-grid input { background: var(--surface); padding: .65rem .6rem; min-height: 44px; }
.pkg-vol { color: var(--muted); font-size: .85rem; margin-top: .5rem; }
@media (max-width: 640px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: var(--r-sm); width: 36px; height: 36px; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { color: var(--err); border-color: var(--err); }
.summary { position: sticky; top: 88px; }
.summary dl { margin: 0 0 1.25rem; }
.summary .row { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.summary .row dt { color: var(--muted); }
.summary .row dd { margin: 0; font-weight: 600; font-family: "IBM Plex Sans", sans-serif; }
.chargeable { padding: 1.25rem 0 .25rem; }
.chargeable dt { color: var(--paper); font-weight: 600; }
.chargeable dd { margin: .25rem 0 0; font: 600 clamp(2.4rem, 5vw, 3.2rem)/1.1 "IBM Plex Sans", sans-serif; color: var(--gold); }
.chargeable small { display: block; color: var(--muted); font-size: .85rem; }

/* ---------- التسوق ---------- */
.shop-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }
.mini-steps { list-style: none; padding: 0; margin: 1.5rem 0 0; counter-reset: m; }
.mini-steps li { counter-increment: m; display: flex; gap: .9rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.mini-steps li::before { content: counter(m); width: 2rem; height: 2rem; flex: none; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 600 .9rem "IBM Plex Sans", sans-serif; }
.success-box { text-align: center; padding: 2.5rem 1rem; }
.success-box .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; margin: 0 auto 1rem; }
.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }

/* ---------- لوحة التحكم ---------- */
.admin-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.tabs button { background: none; border: 0; color: var(--muted); font: 600 1rem var(--font-body); padding: .8rem 1rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.tabs .count { background: var(--raise); color: var(--paper); border-radius: 999px; padding: 0 .5rem; font-size: .8rem; margin-inline-start: .35rem; }
.admin-layout { display: grid; grid-template-columns: 420px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 1080px) { .admin-layout { grid-template-columns: 1fr; } }
.stage-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.stage-pick label { margin: 0; }
.stage-pick label { position: relative; }
.stage-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; inset: 0; }
.stage-pick span { display: block; text-align: center; padding: .6rem .3rem; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .82rem; cursor: pointer; color: var(--muted); font-weight: 500; }
.stage-pick input:checked + span { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.stage-pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.list { display: flex; flex-direction: column; gap: .6rem; }
.item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 1rem 1.1rem; }
.item-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; }
.item-top b { font-family: "IBM Plex Sans", sans-serif; letter-spacing: .03em; }
.item-meta { color: var(--muted); font-size: .88rem; margin: .35rem 0 .75rem; }
.item-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.mini-stages { display: flex; gap: 3px; }
.mini-stages i { width: 22px; height: 5px; border-radius: 3px; background: var(--line); }
.mini-stages i.on { background: var(--gold); }
.req-status { background: var(--raise); border: 1px solid var(--line); color: var(--paper); border-radius: 999px; padding: .3rem .8rem; min-height: 0; width: auto; font-size: .85rem; }
.req-status[data-v="new"] { border-color: var(--gold); color: var(--gold); }
.login-wrap { max-width: 420px; margin: clamp(3rem, 10vw, 6rem) auto; }

/* ---------- التذييل ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 3rem; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { color: var(--paper); font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 40px; height: auto; }
.footer-brand strong { color: var(--paper); font-family: "Archivo", sans-serif; letter-spacing: .04em; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-block: 1.25rem 1.5rem; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- عائم ورسائل ---------- */
.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; z-index: 60; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.toast { position: fixed; bottom: 92px; left: 50%; transform: translate(-50%, 20px); background: var(--paper); color: var(--ink); padding: .7rem 1.2rem; border-radius: var(--r-sm); font-weight: 500; opacity: 0; pointer-events: none; transition: .25s; z-index: 70; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--err); }

/* ---------- صفحات الدول ---------- */
.country-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); }
.country-hero .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.country-hero .crumbs a { color: var(--muted); }
.country-hero h1 { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.country-hero h1 img { width: 54px; height: auto; border-radius: 4px; }
.country-hero .facts { margin: 2rem 0; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; padding-inline-end: 2.25rem; font-weight: 600; display: block; position: relative; overflow-wrap: anywhere; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: .25rem; top: 1.05rem; color: var(--gold); font: 400 1.4rem/1 "IBM Plex Sans", sans-serif; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 1.2rem; max-width: 70ch; }
.route { text-decoration: none; color: inherit; }
a.route:hover .dest strong { color: var(--gold); }
a.route:hover .path { opacity: 1; }
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- صفحة الأسئلة: ما يمكن شحنه ---------- */
.ship-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 960px) { .ship-rules { grid-template-columns: 1fr; } }
.rule { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: var(--surface); }
.rule h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin-bottom: 1rem; }
.rule .mark { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font: 600 .95rem "IBM Plex Sans", sans-serif; flex: none; }
.rule-yes .mark { background: rgba(140,196,154,.15); color: var(--ok); border: 1px solid rgba(140,196,154,.4); }
.rule-cond .mark { background: rgba(230,190,123,.15); color: var(--gold); border: 1px solid rgba(230,190,123,.45); }
.rule-no .mark { background: rgba(229,140,124,.14); color: var(--err); border: 1px solid rgba(229,140,124,.4); }
.rule-no { border-color: rgba(229,140,124,.3); }
.rule ul { list-style: none; padding: 0; margin: 0; }
.rule li { padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.rule li:last-child { border-bottom: 0; }
.rule-note { color: var(--muted); font-size: .88rem; margin: 1rem 0 .9rem; }
.main-nav a { padding-inline: .65rem; }

/* ---------- التغليف ---------- */
.pack { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pack h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); max-width: 22ch; text-wrap: balance; }
.pack .lead { margin-bottom: 1.75rem; }
.pack-list { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--gold); }
.pack-list li { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.pack-list li:last-child { border-bottom: 0; }
@media (max-width: 860px) { .pack { grid-template-columns: 1fr; } }
.wa-link { color: var(--gold); }

/* ---------- نموذج الفاتورة (لوحة التحكم) ---------- */
.inv-form { display: grid; gap: 1.25rem; max-width: 980px; }
.inv-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.inv-head h2 { margin: 0; font-size: 1.5rem; }
.inv-form fieldset { margin: 0; min-width: 0; }
.inv-form, .inv-form > * { min-width: 0; }
.dims input { min-width: 0; }
.inv-form legend { font: 600 1.05rem var(--font-head); color: var(--gold); padding: 0 .4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 1rem; }
@media (max-width: 760px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid-3 { grid-template-columns: 1fr; } }
.dims { display: flex; align-items: center; gap: .5rem; max-width: 420px; }
.dims span { color: var(--muted); }
.money { display: flex; gap: .4rem; }
.money input { flex: 1; min-width: 0; }
.money select { width: 92px; flex: none; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.photos figure { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3/4; background: var(--raise); }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos .icon-btn { position: absolute; top: 6px; inset-inline-end: 6px; background: rgba(0,0,0,.65); color: #fff; border-color: transparent; }
.photo-add { cursor: pointer; }
.inv-actions { position: sticky; bottom: 0; background: linear-gradient(to top, var(--ink) 70%, transparent); padding: 1rem 0; }
.saved-box { text-align: center; max-width: 640px; margin: 2rem auto; }
.saved-box .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; margin: 0 auto 1rem; }
.saved-code { font: 600 clamp(2.2rem, 6vw, 3.2rem)/1.1 "IBM Plex Sans", sans-serif; color: var(--gold); letter-spacing: .04em; margin: .25rem 0 .75rem; }
.stage-select { min-width: 9rem; }
.carrier-box { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.25rem; }
.carrier-box h3 { margin-bottom: .75rem; }


/* ---------- الموبايل: مساحات لمس مريحة وعدم خروج أي عنصر عن الشاشة ---------- */
.brand { flex-shrink: 0; white-space: nowrap; }
.footer-grid > * { min-width: 0; }
.footer-grid a, .item-meta, .item p, .facts dd { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .header-row { gap: .75rem; }
  .lang-switch button { min-height: 40px; min-width: 2.6rem; }
  .menu-btn { width: 44px; height: 44px; }
  .btn-sm { min-height: 42px; padding: .55rem .95rem; }
  .req-status, .stage-select { min-height: 42px; }
  .hero-links a:not(.btn), .crumbs a, .faq p a, .country-hero p a, .branch dd a, #helpWa { display: inline-block; padding-block: .55rem; }
  .footer-grid ul { gap: 0; }
  .footer-grid li > a, .footer-grid li > span + br + a { display: inline-block; padding-block: .5rem; }
  input, select, textarea { font-size: 16px; } /* يمنع التكبير التلقائي في iPhone */
}
@media (max-width: 359px) {
  .brand span { display: none; }
  .wrap { width: calc(100% - 1.5rem); }
}
@media (max-width: 600px) { .wa-float { width: 52px; height: 52px; bottom: 14px; inset-inline-end: 14px; } body { padding-bottom: 0; } }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
input[type="date"] { min-width: 0; max-width: 100%; }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- صفحة اطلب شحنة ---------- */
.bk { max-width: 980px; }
.bk-steps { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.bk-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; color: var(--muted); font-size: .9rem; }
.bk-steps li::before { content: ""; position: absolute; top: 1rem; inset-inline-start: calc(-50% + 1.2rem); inset-inline-end: calc(50% + 1.2rem); height: 2px; background: var(--line); }
.bk-steps li:first-child::before { display: none; }
.bk-steps li.done::before, .bk-steps li.current::before { background: var(--gold); }
.bk-steps .dot { width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font: 600 .9rem "IBM Plex Sans", sans-serif; background: var(--ink); position: relative; z-index: 1; }
.bk-steps li.done .dot { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.bk-steps li.current .dot { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 5px rgba(230,190,123,.15); }
.bk-steps li.current { color: var(--paper); font-weight: 600; }
.bk-stepof { display: none; margin: 0 0 1rem; text-align: center; }
.bk form { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.bk-h { font-size: 1.05rem; margin: 1.75rem 0 1rem; color: var(--gold); }
.opt-grid { display: grid; gap: .75rem; }
.opt-4 { grid-template-columns: repeat(4, 1fr); }
.opt-dest { grid-template-columns: repeat(3, 1fr); margin-top: .5rem; }
.opt-box { grid-template-columns: repeat(4, 1fr); }
.opt-carrier { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; min-height: 120px; padding: 1rem .75rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--raise); cursor: pointer; text-align: center; font-weight: 600; margin: 0; transition: border-color .15s, background .15s; }
.opt:hover { border-color: rgba(230,190,123,.6); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.opt svg { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.opt:has(input:checked) { border-color: var(--gold); background: rgba(230,190,123,.1); box-shadow: inset 0 0 0 1px var(--gold); }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt-sm { min-height: 64px; flex-direction: row; gap: .6rem; font-weight: 500; }
.opt-sm img { width: 26px; height: auto; border-radius: 3px; }
.opt-sm svg { width: 28px; height: 28px; }
.opt-wide { min-height: 84px; align-items: flex-start; text-align: start; padding: 1rem 1.25rem; }
.opt-wide .c-name { font: 700 1.2rem "IBM Plex Sans", sans-serif; letter-spacing: .02em; }
.opt-wide .c-time { font-weight: 400; color: var(--muted); font-size: .9rem; }
.route-pick { display: grid; grid-template-columns: 200px 1fr; gap: 1.25rem; align-items: start; }
.from-box { display: flex; align-items: center; gap: .6rem; min-height: 64px; margin-top: .5rem; padding: 0 1rem; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--muted); }
.from-box img { border-radius: 3px; }
.phone, .unit { display: flex; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--raise); overflow: hidden; }
.phone:focus-within, .unit:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,190,123,.18); }
.phone input, .unit input { border: 0; border-radius: 0; box-shadow: none !important; flex: 1; min-width: 0; text-align: left !important; }
.phone .dial, .unit span { display: grid; place-items: center; padding: 0 .85rem; color: var(--muted); background: var(--surface); font: 500 .95rem "IBM Plex Sans", sans-serif; min-width: 3.4rem; }
.chg { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; padding: 1rem 1.25rem; border-radius: var(--r-md); background: rgba(230,190,123,.08); border: 1px solid rgba(230,190,123,.3); }
.chg strong { font: 600 1.6rem "IBM Plex Sans", sans-serif; color: var(--gold); }
.chg small { flex-basis: 100%; }
.small-note { font-size: .88rem; margin: .75rem 0 1.25rem; }
.bk-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5rem 1.25rem; margin: 0 0 1.25rem; }
.bk-summary dl div { border-top: 1px solid var(--line); padding-top: .5rem; min-width: 0; }
.bk-summary dt { color: var(--muted); font-size: .82rem; }
.bk-summary dd { margin: 0; overflow-wrap: anywhere; }
.bk-nav { display: flex; gap: .75rem; justify-content: flex-start; }
.bk-nav .btn { min-width: 9rem; }
.bk .success-box .saved-code { font: 600 clamp(1.6rem, 6vw, 2.4rem)/1.2 "IBM Plex Sans", sans-serif; color: var(--gold); margin: .25rem 0 .75rem; }
@media (max-width: 760px) {
  .opt-4, .opt-box { grid-template-columns: repeat(2, 1fr); }
  .opt-dest { grid-template-columns: repeat(2, 1fr); }
  .opt-carrier { grid-template-columns: 1fr; }
  .route-pick { grid-template-columns: 1fr; }
  .bk-steps .lbl { display: none; }
  .bk-stepof { display: block; }
  .bk-summary dl { grid-template-columns: 1fr; }
  .bk-nav { position: sticky; bottom: 0; background: linear-gradient(to top, var(--ink) 75%, transparent); padding: .75rem 0; z-index: 5; }
  .bk-nav .btn { flex: 1; min-width: 0; }
  .opt { min-height: 104px; }
  .opt-sm { min-height: 60px; }
}
.main-nav a.nav-cta { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.main-nav a.nav-cta:hover, .main-nav a.nav-cta[aria-current="page"] { background: var(--paper); color: var(--gold-ink); }
@media (max-width: 1180px) and (min-width: 901px) { .main-nav a { padding-inline: .5rem; font-size: .9rem; } .main-nav { gap: 0; } }
@media (max-width: 900px) { .main-nav a.nav-cta { margin: .5rem 0; border-radius: var(--r-sm); text-align: center; border-bottom: 0; } }
.bk-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5rem 1.25rem; margin: .25rem 0 .9rem; font-size: .92rem; }
.bk-row dt { color: var(--muted); font-size: .8rem; }
.bk-row dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .bk-row { grid-template-columns: 1fr; } }
@media (max-width: 760px) { body[data-page="book"] .wa-float, body[data-page="admin"] .wa-float { bottom: 88px; } }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { white-space: nowrap; flex: none; }
@media (max-width: 600px) { .tabs button { padding: .8rem .6rem; font-size: .92rem; } }
@media (max-width: 600px) {
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .tabs button { white-space: normal; padding: .7rem .3rem; font-size: .85rem; line-height: 1.3; }
  .tabs .count { display: inline-block; margin-top: .2rem; }
}

/* ---------- مشهد رحلة الشحنة (الصفحة الرئيسية) ---------- */
.journey { position: relative; padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.journey::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 70%, rgba(230,190,123,.07), transparent 70%); pointer-events: none; }
.jr-head h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); margin-bottom: 1rem; }
.jr-viewport { position: relative; width: 100%; max-width: 1600px; margin: 0 auto; overflow: hidden; }
.jr-stage { position: relative; transform-origin: 0 0; will-change: transform; margin: 0 auto; }
.jr-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.jr-belt { animation: jrBelt 1s linear infinite; }
.jr-road { animation: jrRoad 2.4s linear infinite; }
.jr-beacon { animation: jrBlink 1.6s ease-in-out infinite; }
@keyframes jrBelt { to { stroke-dashoffset: -16; } }
@keyframes jrRoad { to { stroke-dashoffset: -40; } }
@keyframes jrBlink { 50% { opacity: .2; } }
.jr-pin { opacity: .45; transition: opacity .3s, r .3s; }
.jr-pin.on { opacity: 1; r: 7; }
.jr-labels { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.jr-label { position: absolute; transform: translateX(var(--ax, -50%)); width: max-content; max-width: 210px; }
.jr-card { display: flex; align-items: center; gap: .55rem; padding: .5rem .75rem; border-radius: 12px; background: rgba(27,24,20,.9); border: 1px solid var(--line); opacity: .55; transition: opacity .35s, border-color .35s, transform .35s; transform: translateY(4px); }
html[dir="rtl"] .jr-card { direction: rtl; }
.jr-label.on .jr-card { opacity: 1; border-color: var(--gold); transform: none; box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 0 3px rgba(230,190,123,.12); }
.jr-n { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; font: 600 .85rem "IBM Plex Sans", sans-serif; border: 1px solid var(--gold); color: var(--gold); }
.jr-label.on .jr-n { background: var(--gold); color: var(--gold-ink); }
.jr-t { display: flex; flex-direction: column; line-height: 1.3; }
.jr-t b { font-size: .92rem; font-weight: 600; }
.jr-t small { font-size: .74rem; color: var(--muted); }
.jr-caption { display: flex; align-items: center; gap: .7rem; width: min(var(--wrap), 100% - 2.5rem); margin: 1rem auto 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.jr-t small { display: none; }
.jr-label { max-width: 190px; }
/* الشاشات الضيقة: الكاميرا تلحق الكرتونة، والشرح تحت المشهد */
.journey.jr-pan .jr-labels { display: none; }
.jr-caption b { display: block; font-size: 1rem; }
.jr-caption small { display: block; color: var(--muted); font-size: .85rem; }
.jr-caption .jr-n { background: var(--gold); color: var(--gold-ink); }
.journey.jr-static .jr-card { opacity: 1; }
.journey.jr-static .jr-caption { display: none; }
@media (min-width: 900px) { .jr-caption { max-width: 560px; } }
@media (prefers-reduced-motion: reduce) { .jr-belt, .jr-road, .jr-beacon { animation: none; } }
.journey.jr-pan .jr-conn { display: none; }

/* ---------- الصفحة الرئيسية: المشهد أولاً ثم العنوان ثم الوجهات ---------- */
.journey.jr-top { padding-top: clamp(.5rem, 2vw, 1.25rem); padding-bottom: 0; }
.journey.jr-top .jr-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.journey.jr-top .jr-caption { margin-top: .75rem; }
.hero { padding-block: clamp(2rem, 4.5vw, 3.25rem) clamp(2.5rem, 5vw, 3.75rem); }
.hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
.hero-text h1 { max-width: 18ch; margin-bottom: .6rem; }
.hero-text .lead { margin-bottom: 0; }
.hero-side .track-box { max-width: none; }
.hero-side .hero-links { margin-top: 1.1rem; }
.dests { margin-top: clamp(2rem, 4vw, 3rem); }
.dests-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dests-head h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 0; }
.dest-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.dest-card { grid-column: span 2; }
.dest-card.wide { grid-column: span 3; }
.dest-card { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--paper); text-decoration: none; transition: border-color .2s, background .2s; min-width: 0; }
.dest-card:hover { border-color: var(--gold); background: rgba(230,190,123,.06); color: var(--paper); }
.dest-card .flags { display: flex; flex: none; }
.dest-card img { width: 40px; height: 30px; object-fit: cover; border-radius: 4px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 0 3px var(--surface); }
.dest-card .flags.multi img { width: 30px; }
.dest-card .flags.multi img + img { margin-inline-start: -10px; }
.dest-card .txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dest-card strong { font-weight: 600; font-size: 1.05rem; }
.dest-card small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.dest-go { color: var(--gold); opacity: .55; flex: none; transition: opacity .2s, transform .2s; }
html[dir="rtl"] .dest-go { transform: scaleX(-1); }
.dest-card:hover .dest-go { opacity: 1; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
@media (max-width: 760px) {
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .dest-card, .dest-card.wide { grid-column: span 1; }
  .dest-card:nth-child(3) { grid-column: span 2; }
  .dest-card .flags.multi img { width: 24px; }
  .dest-card .flags.multi img + img { margin-inline-start: -8px; }
  .dest-card { padding: .75rem .8rem; gap: .6rem; }
  .dest-card img { width: 32px; }
  .dest-card:not(:nth-child(3)) small, .dest-go { display: none; }
  .dests-head { flex-direction: column; gap: .2rem; }
}

/* ---------- جدول الوجهات (الصفحة الرئيسية) ---------- */
.rt { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.rt-head, .rt-row { display: grid; grid-template-columns: minmax(150px, 1.05fr) minmax(0, 2.1fr) minmax(150px, 1fr) minmax(170px, 1.1fr) 28px; align-items: center; column-gap: 1.25rem; padding: .95rem 1.4rem; }
.rt-head { padding-block: .7rem; background: rgba(230,190,123,.06); border-bottom: 1px solid var(--line); color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
html[lang="en"] .rt-head, html[lang="tr"] .rt-head { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.rt-row { color: var(--paper); text-decoration: none; position: relative; transition: background .2s; }
.rt-row + .rt-row { border-top: 1px solid var(--line); }
.rt-row::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--gold); opacity: 0; transition: opacity .2s; }
.rt-row:hover { background: rgba(230,190,123,.05); color: var(--paper); }
.rt-row:hover::before, .rt-row:focus-visible::before { opacity: 1; }
.rt-dest strong { font-size: 1.08rem; font-weight: 600; }
.rt-countries { display: flex; flex-wrap: wrap; gap: .4rem; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .28rem .65rem .28rem .5rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); font-size: .84rem; line-height: 1.2; white-space: nowrap; }
html[dir="rtl"] .chip { padding: .28rem .5rem .28rem .65rem; }
.chip img { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.rt-ship, .rt-time { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; min-width: 0; }
.rt-line { display: inline-flex; align-items: center; gap: .45rem; }
.rt-ship .rt-line span { white-space: nowrap; }
.rt-ship .ic { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.rt-time b { color: var(--gold); font-weight: 600; }
.rt-time small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.rt-go { display: flex; justify-content: flex-end; }
.rt-row:hover .dest-go { opacity: 1; }
@media (max-width: 1020px) {
  .rt-head, .rt-row { grid-template-columns: minmax(130px, 1fr) minmax(0, 1.8fr) minmax(170px, 1.1fr) 24px; }
  .rt-head > :nth-child(3), .rt-row .rt-ship { display: none; }
}
@media (max-width: 680px) {
  .rt { background: transparent; border: 0; border-radius: 0; display: grid; gap: .65rem; overflow: visible; }
  .rt-head { display: none; }
  .rt-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; grid-template-areas: "d d g" "c c c" "s t t"; row-gap: .7rem; column-gap: 1rem; padding: 1rem 1.05rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
  .rt-row + .rt-row { border-top: 1px solid var(--line); }
  .rt-row::before { display: none; }
  .rt-dest { grid-area: d; } .rt-go { grid-area: g; } .rt-countries { grid-area: c; }
  .rt-row .rt-ship { display: flex; grid-area: s; align-self: start; color: var(--muted); font-size: .84rem; }
  .rt-time { grid-area: t; align-items: flex-end; text-align: end; font-size: .86rem; }
  .rt-row .dest-go { opacity: .8; }
  .chip { font-size: .8rem; }
}

/* المسافة بين أسطر العناوين العربية (خط كوفي طويل) */
html[lang="ar"] h1 { line-height: 1.5; }
html[lang="ar"] h2 { line-height: 1.45; }
html[lang="ar"] .hero-text h1 { font-size: clamp(1.9rem, 3.9vw, 3rem); }

/* ---------- صفحات المناطق (الخليج، أوروبا، أمريكا وكندا) ---------- */
.country-hero h1 .flags { display: inline-flex; flex-wrap: wrap; gap: .5rem; }
.country-hero h1 .flags.multi { flex-basis: 100%; }
.country-hero h1 .flags.multi img { width: 40px; height: 28px; object-fit: cover; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }

.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.method { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.method-ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(230,190,123,.1); border: 1px solid rgba(230,190,123,.35); }
.method-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.method h3 { margin: 0 0 .25rem; font-size: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.method .tag { font-style: normal; font-size: .75rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; background: var(--gold); color: var(--gold-ink); }
.method p { margin: 0 0 .35rem; }
.method-time strong { color: var(--gold); font-weight: 600; }
.region-countries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.region-countries .dest-card { grid-column: auto; }
@media (max-width: 760px) { .region-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); } .region-countries .dest-card { grid-column: auto !important; } .region-countries .dest-card small { display: none; } }
.hero-chips { margin: .4rem 0 .9rem; }
.hero-chips .chip { font-size: .86rem; padding-block: .32rem; }

/* ---------- آراء العملاء (الصفحة الرئيسية) ---------- */
.rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.rv-head .section-head { margin-bottom: 0; }
.rv-nav { display: flex; gap: .5rem; }
.rv-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--gold); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s; }
.rv-arrow:hover { border-color: var(--gold); background: rgba(230,190,123,.08); }
.rv-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .rv-arrow svg { transform: scaleX(-1); }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem; outline: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: .9rem; padding: 1.4rem 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(230,190,123,.05), transparent 45%), var(--surface); position: relative; min-width: 0; }
.rv-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.rv-stars-ro { display: inline-flex; gap: 2px; }
.rv-stars-ro svg { width: 17px; height: 17px; fill: rgba(255,255,255,.14); }
.rv-stars-ro .on svg { fill: var(--gold); }
.rv-src { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem; white-space: nowrap; }
.rv-src svg { width: 13px; height: 13px; }
.rv-text { margin: 0; color: var(--paper); line-height: 1.75; font-size: .97rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rv-who { display: flex; align-items: center; gap: .7rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.rv-av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(230,190,123,.12); border: 1px solid rgba(230,190,123,.4); color: var(--gold); font-weight: 700; }
.rv-who b { display: block; font-weight: 600; font-size: .95rem; }
.rv-who small { display: block; color: var(--muted); font-size: .8rem; }
.rv-empty { text-align: center; color: var(--muted); padding: 2rem 1rem; border: 1px dashed var(--line); border-radius: var(--r-lg); margin: 0; }
.rv-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.rv-form { max-width: 640px; margin: 1.5rem auto 0; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); position: relative; }
.rv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.rv-rate { border: 0; padding: 0; min-width: 0; }
.rv-rate legend { padding: 0; margin-bottom: .4rem; font-weight: 500; }
.rv-stars { display: inline-flex; gap: .25rem; }
.rv-star { position: relative; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 10px; }
.rv-star input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rv-star svg { width: 30px; height: 30px; fill: rgba(255,255,255,.12); stroke: rgba(230,190,123,.5); stroke-width: 1; transition: fill .15s, transform .15s; }
.rv-star.on svg { fill: var(--gold); stroke: var(--gold); }
.rv-star:hover svg { transform: scale(1.1); }
.rv-star:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
#rvOk { max-width: 640px; margin: 1.25rem auto 0; text-align: center; }
@media (max-width: 1020px) { .rv-track { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 640px) {
  .rv-head { align-items: flex-start; }
  .rv-nav { display: none; }
  .rv-track { grid-auto-columns: 86%; gap: .75rem; }
  .rv-form-grid { grid-template-columns: 1fr; }
  .rv-cta .btn { flex: 1 1 100%; }
}

/* ---------- لوحة التحكم: آراء العملاء ---------- */
.rv-add { margin: 1rem 0 1.25rem; padding: 0; }
.rv-add summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; color: var(--gold); list-style: none; }
.rv-add summary::-webkit-details-marker { display: none; }
.rv-add summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; }
.rv-add[open] summary::before { content: "−"; }
.rv-add form { padding: 0 1.25rem 1.25rem; }
.rv-pill { font-size: .78rem; padding: .15rem .6rem; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.rv-pill-pending { background: rgba(230,190,123,.15); color: var(--gold); border-color: rgba(230,190,123,.5); }
.rv-pill-approved { background: rgba(140,196,154,.12); color: var(--ok); border-color: rgba(140,196,154,.35); }
.rv-pill-hidden { color: var(--muted); }
.rv-item.rv-pending { border-color: rgba(230,190,123,.55); }
.rv-item.rv-hidden { opacity: .7; }
.rv-admin-stars { color: var(--gold); letter-spacing: 1px; }
.rv-admin-text { margin: .35rem 0 .8rem; white-space: pre-line; overflow-wrap: anywhere; }
.btn-danger:hover { border-color: #e07a6a; color: #e07a6a; }
.tabs .count.count-new { background: var(--gold); color: var(--gold-ink); }
@media (max-width: 600px) { .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#boxGrid .opt { flex-direction: column; justify-content: center; text-align: center; gap: .4rem; }
#boxGrid .opt .ltr { white-space: nowrap; font-size: .92rem; }

/* كود الشحنة في نموذج الفاتورة */
.code-panel { border-color: rgba(230,190,123,.45); }
.code-panel .field { margin-bottom: 0; max-width: 360px; }
.code-input { font: 600 1.35rem/1.2 "IBM Plex Sans", sans-serif; letter-spacing: .08em; }
.code-input:disabled { opacity: .75; }
#codePreview { color: var(--gold); font-size: .88rem; }
#codePreview.err-text { color: #e07a6a; }
.code-row { display: flex; gap: .5rem; align-items: stretch; }
.code-row .code-input { flex: 1; min-width: 0; }
.code-row .btn { white-space: nowrap; }
.code-panel .field { max-width: 520px; }
.edit-tools { margin: .75rem 0 0; }
@media (max-width: 480px) { .code-row { flex-direction: column; } }

/* اطلب شحنة: رمز الهاتف + النموذج المختصر للبضائع التجارية والأثاث */
.phone select.dial { appearance: none; -webkit-appearance: none; border: 0; border-inline-end: 1px solid var(--line); border-radius: 0; color: var(--paper); font-size: 16px; padding: 0 .7rem; min-width: 4.2rem; max-width: 9.5rem; cursor: pointer; background: var(--surface); }
.phone select.dial:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.bk .simple-only { display: none; }
.bk form.simple .simple-only { display: block; }
.bk form.simple .full-only { display: none !important; }

/* 6 مراحل للشحنة */
.stage-pick { grid-template-columns: repeat(3, 1fr); }
.timeline { grid-template-columns: repeat(6, 1fr); }
.timeline strong { font-size: .88rem; line-height: 1.35; padding-inline: .2rem; }
@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; gap: 0; margin-inline-start: .2rem; }
  .timeline li { text-align: start; padding: 0 0 1.1rem; padding-inline-start: 2.4rem; min-height: 3rem; }
  .timeline li::before { top: .6rem; bottom: -.6rem; height: auto; width: 2px; inset-inline-start: .55rem !important; inset-inline-end: auto !important; }
  .timeline li:last-child::before { display: none; }
  .timeline .dot { left: auto; transform: none; inset-inline-start: 0; }
  .timeline strong { font-size: .95rem; padding: 0; }
}

/* ---------- لوحة التحكم: سجل يومي + تقويم + تحريك جماعي ---------- */
.day-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.day-bar input[type=date] { width: auto; min-width: 150px; }
.day-title { font-weight: 600; color: var(--gold); margin-inline-start: auto; }
.nav-btn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--gold); cursor: pointer; }
.nav-btn:hover { border-color: var(--gold); }
.nav-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .nav-btn svg { transform: scaleX(-1); }
.cal { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: .9rem; margin-bottom: .9rem; }
.cal-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.cal-head strong { flex: 1; }
.cal-head .muted { font-size: .85rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.cal-wd { text-align: center; font-size: .75rem; color: var(--muted); padding: .2rem 0; }
.cal-day { position: relative; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--paper); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: inherit; }
.cal-day b { font-weight: 500; font-size: .9rem; }
.cal-day.has { border-color: rgba(230,190,123,.45); }
.cal-day .cal-n { font-size: .72rem; min-width: 22px; padding: 0 .35rem; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 700; line-height: 1.5; }
.cal-day.today b { color: var(--gold); }
.cal-day.on { background: rgba(230,190,123,.16); border-color: var(--gold); }
.cal-day:hover { border-color: var(--gold); }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .6rem .8rem; margin-bottom: .75rem; border: 1px dashed var(--line); border-radius: var(--r-md); }
.bulk-bar.active { border-style: solid; border-color: var(--gold); background: rgba(230,190,123,.07); position: sticky; top: 72px; z-index: 5; backdrop-filter: blur(6px); }
.bulk-all { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.bulk-count { color: var(--muted); font-size: .88rem; flex: 1; }
.bulk-bar.active .bulk-count { color: var(--gold); font-weight: 600; }
.bulk-bar select { width: auto; min-width: 200px; }
.pick-wrap { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; }
.pick-wrap input, .bulk-all input { width: 18px; height: 18px; accent-color: var(--gold); }
.empty-day { text-align: center; padding: 2rem 1rem; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; align-items: center; }
.chip-btn { border: 1px solid var(--line); background: var(--surface); color: var(--paper); border-radius: 999px; padding: .4rem .9rem; cursor: pointer; font: inherit; font-size: .88rem; display: inline-flex; gap: .4rem; align-items: center; min-height: 40px; }
.chip-btn .n { font-size: .75rem; color: var(--muted); }
.chip-btn.on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.chip-btn.on .n { color: var(--gold-ink); }
.filter-bar .arch-all { margin-inline-start: auto; }
@media (max-width: 600px) {
  .day-title { width: 100%; margin: 0; order: 9; }
  .bulk-bar select { flex: 1; min-width: 0; }
  .bulk-bar.active { top: 64px; }
  .cal-day { min-height: 42px; }
}
@media (max-width: 600px) {
  .cal-head { flex-wrap: wrap; }
  .cal-head strong { order: 2; flex: 1; text-align: center; }
  .cal-head .muted { order: 4; width: 100%; text-align: center; }
  .cal-head [data-cal="-1"] { order: 1; } .cal-head [data-cal="1"] { order: 3; }
  .bulk-bar select { flex: 1 1 100%; }
  .bulk-bar .btn { flex: 1; }
}
