/* الخطوط مستضافة محلياً (رخصة SIL OFL) */
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url('/static/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url('/static/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url('/static/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url('/static/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url('/static/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url('/static/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url('/static/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url('/static/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/static/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url('/static/fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* =========================================================
   متجر عن بعد — نظام التصميم
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #070b14;
  --bg2: #0a1020;
  --surface: #0f1627;
  --surface2: #141d33;
  --line: rgba(148, 163, 184, .13);
  --line2: rgba(148, 163, 184, .26);
  --ink: #e9eef8;
  --muted: #94a1b9;
  --dim: #66728a;
  --mint: #2ee6c5;
  --indigo: #6f6bff;
  --amber: #ffb547;
  --pink: #ff7ac6;
  --ok: #34d399;
  --danger: #ff6b7a;
  --grad: linear-gradient(100deg, #2ee6c5 0%, #59b8ff 45%, #6f6bff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 .9em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.3em; }
[hidden] { display: none !important; }
::selection { background: rgba(46, 230, 197, .3); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.main { min-height: 62vh; padding-bottom: 72px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; margin-top: 24px; }
.inline { display: inline; }
.num, .price, .kpi b { font-family: var(--mono), var(--font); font-feature-settings: 'tnum'; }
.cur { font-family: var(--font); font-size: .82em; font-weight: 500; color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--mint); color: #04121a; padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---------- الرأس ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 11, 20, .72);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; white-space: nowrap; }
.brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); line-height: 1.2; }
.logo { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 4px 14px rgba(46, 230, 197, .35)); }
.main-nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { padding: 7px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; white-space: nowrap; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.main-nav a.on { color: var(--ink); background: rgba(46, 230, 197, .1); box-shadow: inset 0 0 0 1px rgba(46, 230, 197, .35); }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.cart-link:hover, .cart-link.on { border-color: var(--line2); background: rgba(255, 255, 255, .04); }
.badge {
  position: absolute; top: -6px; inset-inline-end: -6px; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 999px; background: var(--grad); color: #04121a; font: 700 .72rem/21px var(--mono); text-align: center;
  box-shadow: 0 0 0 3px var(--bg);
}
@media (max-width: 700px) {
  .header-row { flex-wrap: wrap; gap: 10px; padding-top: 10px; }
  .brand { flex: 1; }
  .main-nav { order: 3; flex-basis: 100%; margin-inline: -16px; padding: 0 12px 10px; }
}

/* ---------- الأزرار والحقول ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); background: var(--surface2);
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s, filter .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn .ic { width: 18px; height: 18px; }
.btn-glow { background: var(--grad); color: #04121a; box-shadow: 0 10px 30px -10px rgba(46, 230, 197, .55); }
.btn-glow:hover { box-shadow: 0 14px 40px -10px rgba(111, 107, 255, .6); filter: brightness(1.05); }
.btn-line { background: rgba(255, 255, 255, .02); border-color: var(--line2); }
.btn-line:hover { border-color: rgba(46, 230, 197, .55); background: rgba(46, 230, 197, .06); }
.btn-ok { background: rgba(52, 211, 153, .14); color: var(--ok); border-color: rgba(52, 211, 153, .35); }
.btn-ok:hover { background: rgba(52, 211, 153, .22); }
.btn-danger { background: rgba(255, 107, 122, .1); color: var(--danger); border-color: rgba(255, 107, 122, .3); }
.btn-danger:hover { background: rgba(255, 107, 122, .18); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn-xs { padding: 5px 10px; font-size: .82rem; border-radius: 9px; gap: 5px; }
.btn-xs .ic { width: 15px; height: 15px; }
.btn-block { width: 100%; margin-top: 10px; }

label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 16px; color: var(--ink); }
input, select, textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px 14px;
  background: var(--bg2); color: var(--ink); border: 1px solid var(--line2); border-radius: var(--radius-sm);
  font: inherit; font-weight: 400; transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(46, 230, 197, .12); }
input[type=file] { padding: 10px; font-size: .9rem; }
input[type=file]::file-selector-button { font: inherit; border: 0; border-radius: 8px; padding: 6px 12px; margin-inline-end: 10px; background: var(--surface2); color: var(--ink); cursor: pointer; }
textarea { resize: vertical; min-height: 96px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: 18px 52%, 13px 52%; background-size: 5px 5px; background-repeat: no-repeat; }
label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
label.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--mint); }
label.check a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: 1fr; } }
.alert { background: rgba(255, 107, 122, .1); border: 1px solid rgba(255, 107, 122, .3); color: #ffb3bc; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 500; }

/* ---------- الواجهة الرئيسية ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 16s ease-in-out infinite alternate; }
.o1 { width: 460px; height: 460px; background: #13b89c; top: -160px; inset-inline-end: -80px; }
.o2 { width: 400px; height: 400px; background: #5048e5; bottom: -200px; inset-inline-start: -60px; animation-delay: -6s; }
@keyframes float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.12); } }
.hero-inner { position: relative; padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(15, 22, 39, .6); color: var(--muted); font-size: .88rem; margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(46, 230, 197, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46, 230, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0); } }
.hero h1 { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4.4rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 22px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-actions .btn { padding: 14px 26px; }
.trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--mint); }

.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: .85rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; }
.kicker .ic { width: 16px; height: 16px; }
.block { margin-top: clamp(56px, 8vw, 96px); }
.block-head { margin-bottom: 24px; }

/* الشريط المتحرك */
.showcase { padding-top: clamp(48px, 7vw, 80px); }
.showcase-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.marquee {
  overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: 6px; }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 80s; }
.marquee-group { display: flex; gap: 16px; padding-inline-end: 16px; }
.marquee.paused .marquee-track { animation-play-state: paused; }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
.tile {
  display: flex; align-items: center; gap: 14px; width: 300px; padding: 12px; border-radius: 16px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg2) 100%); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.tile:hover { border-color: rgba(46, 230, 197, .45); transform: translateY(-3px); }
.tile-img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; }
.tile-body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.tile-type { font-size: .74rem; color: var(--muted); }
.tile-title { font-weight: 600; font-size: .96rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile .price { font-size: .95rem; }

/* بطاقات الأقسام */
.secs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 20px; min-height: 230px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.sec::before { content: ''; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; filter: blur(60px); opacity: .22; background: var(--c); transition: opacity .3s; }
.sec:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.sec:hover::before { opacity: .38; }
.sec-service { --c: var(--mint); } .sec-consultation { --c: var(--amber); } .sec-product { --c: var(--indigo); } .sec-partner { --c: var(--pink); }
.sec-idx { position: absolute; top: 18px; inset-inline-end: 20px; font: 600 .8rem var(--mono); color: var(--dim); }
.sec-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; margin-bottom: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.sec-ic .ic { width: 24px; height: 24px; }
.sec b { font-size: 1.15rem; }
.sec-desc { color: var(--muted); font-size: .9rem; flex: 1; }
.sec-go { display: inline-flex; align-items: center; gap: 6px; color: var(--c); font-size: .88rem; font-weight: 600; }
.sec-go .ic { width: 16px; height: 16px; transition: transform .2s; }
.sec:hover .sec-go .ic { transform: translateX(-4px); }
@media (max-width: 980px) { .secs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .secs { grid-template-columns: 1fr; } .sec { min-height: 0; } }

/* آلية العمل */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.flow li { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.flow-n { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--grad); color: #04121a; font: 700 1rem var(--mono); margin-bottom: 12px; }
.flow b { font-size: 1.05rem; }
.flow span:last-child { color: var(--muted); font-size: .93rem; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }

.cta-band {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(26px, 4vw, 44px); border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 160% at 100% 0%, rgba(255, 122, 198, .16), transparent 55%), radial-gradient(120% 160% at 0% 100%, rgba(111, 107, 255, .2), transparent 55%), var(--surface);
  border: 1px solid var(--line2);
}
.cta-band .kicker { color: var(--pink); }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0; }

/* ---------- صفحات الأقسام ---------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .22; background: var(--c, var(--mint)); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero p { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
.page-hero-service { --c: var(--mint); } .page-hero-consultation { --c: var(--amber); } .page-hero-product { --c: var(--indigo); } .page-hero-partner { --c: var(--pink); }
.page-hero .kicker { color: var(--c, var(--mint)); }
.page-title { padding: 36px 0 18px; }

.search { position: relative; display: block; max-width: 420px; margin: 0 0 22px; }
.search .ic { position: absolute; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); color: var(--dim); }
.search input { margin: 0; padding-inline-start: 44px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(46, 230, 197, .35); box-shadow: var(--shadow); }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.card h3 { margin-bottom: 6px; }
.card h3 a:hover { color: var(--mint); }
.card p { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); }

.price { font-weight: 600; font-size: 1.12rem; white-space: nowrap; }
.price-lg { font-size: 1.7rem; }
.tag { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); --c: var(--mint); }
.tag-consultation { --c: var(--amber); } .tag-product { --c: var(--indigo); } .tag-partner { --c: var(--pink); }
.dur { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--muted); white-space: nowrap; }
.dur .ic { width: 14px; height: 14px; color: var(--mint); }
.dur-sm { font-size: .74rem; }

/* الصور البديلة الفنية */
.art { position: relative; display: grid; place-items: center; overflow: hidden; --c: var(--mint);
  background: radial-gradient(90% 90% at 70% 20%, color-mix(in srgb, var(--c) 32%, transparent), transparent 70%), linear-gradient(160deg, #111a2e, #0a0f1d); }
.art-consultation { --c: var(--amber); } .art-product { --c: var(--indigo); } .art-partner { --c: var(--pink); }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 22px 22px; }
.art-ic { position: relative; width: 46%; max-width: 64px; height: auto; aspect-ratio: 1; color: var(--c); filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c) 60%, transparent)); }
.tile-img .art-ic { width: 32px; }
.detail-img .art-ic { max-width: 110px; }

.empty { text-align: center; padding: 56px 20px; border-radius: var(--radius); border: 1px dashed var(--line2); color: var(--muted); }
.empty-ic { width: 40px; height: 40px; color: var(--dim); margin: 0 auto 10px; }

/* صفحة العنصر */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--dim); padding: 24px 0 18px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--mint); }
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.detail-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }
.detail-media { position: sticky; top: 90px; }
.detail-info h1 { margin-top: 12px; }
.lead { color: var(--muted); font-size: 1.08rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 22px 0; }
.facts > div { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.facts span { color: var(--muted); font-size: .84rem; }
.facts b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.facts b .ic { color: var(--mint); width: 18px; height: 18px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 1.4em; font-size: 1.15rem; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .detail-media { position: static; } }

/* ---------- السلة والطلب ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 26px); }
.panel + .panel { margin-top: 18px; }
.panel h2 { display: flex; align-items: center; gap: 8px; }
.panel h2:not(:first-child) { margin-top: 26px; }
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.split .panel + .panel { margin-top: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checkout { position: sticky; top: 88px; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto auto 34px; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.cart-img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cart-img.art .art-ic { width: 26px; }
.cart-info { display: flex; flex-direction: column; min-width: 0; }
.cart-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-title:hover { color: var(--mint); }
.cart-price { font-family: var(--mono), var(--font); white-space: nowrap; }
.qty { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 10px; }
.qbtn { width: 34px; height: 34px; border: 0; background: none; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.qbtn:hover { color: var(--mint); }
.qn { min-width: 22px; text-align: center; font: 600 .95rem var(--mono); }
.rm { width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--dim); font-size: 1.4rem; cursor: pointer; }
.rm:hover { background: rgba(255, 107, 122, .12); color: var(--danger); }
@media (max-width: 560px) {
  .cart-row { grid-template-columns: 56px 1fr 34px; grid-template-areas: "img info rm" "img qty price"; row-gap: 8px; }
  .cart-img { grid-area: img; width: 56px; height: 56px; } .cart-info { grid-area: info; }
  .qty { grid-area: qty; justify-self: start; } .cart-price { grid-area: price; justify-self: end; } .rm { grid-area: rm; }
}
.total-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 6px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 1.1rem; }
.total-row b { font-family: var(--mono), var(--font); font-size: 1.3rem; }
.lines { display: flex; flex-direction: column; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.line div { display: flex; flex-direction: column; }
.result { text-align: center; padding: clamp(40px, 7vw, 72px) 0 32px; }
.result p { color: var(--muted); max-width: 56ch; margin-inline: auto; font-size: 1.05rem; }
.result b { color: var(--ink); }
.done-ic { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #04121a; background: var(--grad); box-shadow: 0 0 0 10px rgba(46, 230, 197, .1), 0 18px 50px -12px rgba(46, 230, 197, .6); }
.done-ic .ic { width: 38px; height: 38px; stroke-width: 2.4; }
.preview img { max-width: 260px; border-radius: 12px; border: 1px solid var(--line2); margin-bottom: 16px; }

.policy h2 { font-size: 1.12rem; margin-top: 1.8em; color: var(--ink); }
.policy h2:first-of-type { margin-top: .8em; }
.policy a { color: var(--mint); }
.policy b { color: var(--ink); }

/* ---------- التذييل ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-about p { color: var(--muted); margin-top: 12px; max-width: 36ch; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col b { margin-bottom: 4px; }
.footer-col a { color: var(--muted); display: inline-flex; align-items: center; gap: 7px; font-size: .93rem; }
.footer-col a:hover { color: var(--mint); }
.footer-col .ic { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: .84rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 60; padding: 12px 22px; border-radius: 12px; background: var(--grad); color: #04121a; font-weight: 700; box-shadow: var(--shadow); }

/* ---------- لوحة التحكم ---------- */
body.admin { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-shell.no-side { grid-template-columns: 1fr; }
.side { position: sticky; top: 0; height: 100vh; padding: 20px 14px; background: var(--bg2); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.side .brand { padding: 0 8px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a, .side-nav button {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; color: var(--muted);
  font: inherit; font-weight: 500; background: none; border: 0; cursor: pointer; width: 100%; text-align: start;
}
.side-nav a:hover, .side-nav button:hover { background: rgba(255, 255, 255, .04); color: var(--ink); }
.side-nav a.on { background: rgba(46, 230, 197, .1); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(46, 230, 197, .3); }
.side-nav a.on .ic { color: var(--mint); }
.side-nav form { margin-top: auto; }
.dot-badge { margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--amber); color: #1a1000; font: 700 .75rem/22px var(--mono); text-align: center; font-style: normal; }
.admin-main { padding: clamp(18px, 3vw, 36px); min-width: 0; }
.a-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.a-head h1, .a-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.a-head p { margin: 4px 0 0; }
.a-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.a-grid .panel + .panel { margin-top: 0; }
.block-a { margin-top: 30px; }
@media (max-width: 1000px) { .a-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; align-items: center; padding: 10px 12px; gap: 10px; border-inline-end: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .side .brand span { display: none; }
  .side-nav { flex-direction: row; }
  .side-nav a, .side-nav button { white-space: nowrap; padding: 8px 10px; }
  .side-nav form { margin: 0; }
}
@media (max-width: 560px) { .side-nav a span, .side-nav button span { display: none; } .side-nav a.on span { display: inline; } }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.kpi > span { color: var(--muted); font-size: .88rem; }
.kpi b { font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); line-height: 1.4; }
.kpi b .cur { font-size: .55em; }
.kpi small { color: var(--dim); }
.kpi-main { background: radial-gradient(120% 140% at 100% 0%, rgba(46, 230, 197, .18), transparent 60%), var(--surface); border-color: rgba(46, 230, 197, .35); }
.kpi-warn b { color: var(--amber); }
.kpi-bad b { color: var(--danger); }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .kpis { grid-template-columns: 1fr; } }

.chart { width: 100%; height: auto; }
.chart .bar { fill: rgba(111, 107, 255, .45); }
.chart .bar-now { fill: var(--mint); }
.chart .axis { stroke: var(--line2); }
.chart .bar-val { fill: var(--ink); font: 600 15px var(--mono); }
@media (max-width: 600px) { .chart .bar-val { font-size: 22px; } .chart .bar-lbl { font-size: 20px; } }
.chart .bar-lbl { fill: var(--muted); font: 500 12px var(--font); }
.attn { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; transition: border-color .2s; }
.attn:hover { border-color: var(--line2); }
.attn b { font-size: 1.5rem; min-width: 40px; color: var(--mint); }
.attn span { flex: 1; color: var(--muted); }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); font-size: .88rem; }
.chip:hover { color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.tbl { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.tr { display: grid; grid-template-columns: 56px 1.4fr 1fr 1.2fr 1fr 1.6fr; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.tr.th { border-top: 0; color: var(--dim); font-size: .8rem; font-weight: 600; background: var(--bg2); }
.td-id { font-weight: 600; color: var(--muted); }
.td-who { display: flex; flex-direction: column; min-width: 0; }
.td-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-who span { color: var(--dim); font: .82rem var(--mono); text-align: end; }
.td-who:hover b { color: var(--mint); }
.td-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) {
  .tr.th { display: none; }
  .tr { grid-template-columns: auto 1fr auto; grid-template-areas: "id who sum" "st date date" "act act act"; row-gap: 8px; }
  .td-id { grid-area: id; } .td-who { grid-area: who; } .td-sum { grid-area: sum; }
  .tr > span:nth-child(4) { grid-area: st; } .td-date { grid-area: date; text-align: end; } .td-act { grid-area: act; justify-content: flex-start; }
  .td-act:empty { display: none; }
}
.st { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); --c: var(--muted); }
.st-lg { font-size: .9rem; padding: 6px 14px; }
.st-pending, .st-sub-pending { --c: var(--amber); }
.st-paid { --c: var(--mint); }
.st-done, .st-sub-approved { --c: var(--ok); }
.st-cancelled, .st-sub-rejected { --c: var(--danger); }
.st-awaiting_payment { --c: var(--dim); }

.items-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.irow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
.irow:first-child { border-top: 0; }
a.irow:hover { background: rgba(255, 255, 255, .02); }
.irow.off { opacity: .6; }
.thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.thumb.art .ic { width: 22px; height: 22px; color: var(--c); }
.irow-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.irow-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.irow-act { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 640px) { .irow { flex-wrap: wrap; } .irow-act { width: 100%; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 18px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.kv a { color: var(--mint); }
.note { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 18px; color: var(--muted); }
.note p:last-child { margin: 0; }
.sub-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px; margin-bottom: 18px; border: 1px solid var(--line); }
.form-wide { max-width: 860px; }
.audit { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.audit > div { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface); flex-wrap: wrap; }
.audit > div:first-child { border-top: 0; }
.audit .num { color: var(--muted); font-size: .86rem; }

.login { min-height: 100vh; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(60% 60% at 80% 10%, rgba(19, 184, 156, .18), transparent 70%), radial-gradient(60% 60% at 10% 90%, rgba(80, 72, 229, .2), transparent 70%), var(--bg); }
.login-card { width: min(420px, 100%); padding: 32px 28px; border-radius: 22px; background: rgba(15, 22, 39, .85); border: 1px solid var(--line2); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.login-head { text-align: center; margin-bottom: 20px; }
.login-head .logo { width: 48px; height: 48px; margin: 0 auto 12px; }
.otp { font: 600 1.4rem var(--mono); letter-spacing: .5em; text-align: center; }

/* مع «تقليل الحركة»: نوقف المؤثرات الزخرفية، ويبقى عرض الخدمات يتحرك ببطء */
@media (prefers-reduced-motion: reduce) {
  .orb, .pulse, .live-dot, .live-bars i, .tile::after { animation: none !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 140s; }
  .marquee.rev .marquee-track { animation-duration: 160s; }
}

/* ---------- الإضافات: الأرقام، التقييمات، التفاصيل ---------- */
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin-top: -1px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; background: var(--line); }
.stats-band > div { background: var(--bg2); padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.stats-band b { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.2; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-band b small { font-size: .5em; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.stats-band span { color: var(--muted); font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; }

.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.st-ic { width: 14px; height: 14px; fill: rgba(148, 163, 184, .28); }
.st-ic.on { fill: var(--amber); filter: drop-shadow(0 0 6px rgba(255, 181, 71, .35)); }
.stars-lg .st-ic { width: 22px; height: 22px; }
.sigs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 2px 0 10px; font-size: .82rem; color: var(--muted); }
.sig { display: inline-flex; align-items: center; gap: 5px; }
.sig b { color: var(--ink); font-weight: 600; }
.sig-sold .ic { width: 15px; height: 15px; color: #ff8a5b; }
.sig-link { display: inline-block; margin-bottom: 6px; }
.sig-link:hover .sigs { color: var(--ink); }
.tile-rate { color: var(--amber); }
.tile-rate b { color: var(--ink); }

.reviews { margin-top: clamp(48px, 7vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.reviews-head { margin-bottom: 18px; }
.reviews-head .kicker { color: var(--amber); }
.reviews-grid { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.rate-summary { position: sticky; top: 90px; }
.big-rate { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.big-rate > b { font-size: 3rem; line-height: 1; }
.dist-row { display: grid; grid-template-columns: 14px 16px 1fr 24px; align-items: center; gap: 8px; margin: 6px 0; }
.dist-star { width: 14px; height: 14px; fill: var(--amber); stroke: none; }
.dist-bar svg { width: 100%; height: 6px; display: block; }
.dist-bg { fill: rgba(148, 163, 184, .15); }
.dist-fg { fill: var(--amber); }
.review-form h3 { margin-bottom: 12px; }
.rate-input { border: 0; padding: 0; margin: 0 0 14px; }
.rate-input legend { font-weight: 500; font-size: .95rem; margin-bottom: 6px; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-stars label { margin: 0; cursor: pointer; padding: 2px; }
.rate-stars label .ic { width: 32px; height: 32px; fill: rgba(148, 163, 184, .18); stroke: rgba(148, 163, 184, .4); transition: fill .15s, transform .15s; }
.rate-stars label:hover .ic, .rate-stars label:hover ~ label .ic, .rate-stars input:checked ~ label .ic { fill: var(--amber); stroke: var(--amber); }
.rate-stars label:hover .ic { transform: scale(1.12); }
.rate-stars input:focus-visible + label { outline: 2px solid var(--mint); border-radius: 8px; }
.review-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.review { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review header > div { display: flex; flex-direction: column; flex: 1; line-height: 1.4; }
.review p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #04121a; background: var(--grad); flex: none; }
.notice { display: flex; align-items: center; gap: 8px; padding: 12px 16px; margin-bottom: 14px; border-radius: var(--radius-sm); background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); color: var(--ok); font-weight: 600; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } .rate-summary { position: static; } }

.brief-note { display: flex; align-items: center; gap: 8px; color: var(--mint); font-size: .92rem; background: rgba(46, 230, 197, .07); border: 1px dashed rgba(46, 230, 197, .35); padding: 10px 14px; border-radius: var(--radius-sm); }
.brief-box { margin-bottom: 22px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.brief-field { display: block; }
.brief-title { display: inline-block; font-weight: 600; color: var(--mint); margin-bottom: 2px; }
.brief-field textarea { min-height: 110px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 14px; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line2); }
.or { display: flex; align-items: center; gap: 12px; margin: -6px 0 10px; color: var(--dim); font-size: .85rem; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.opt-box { border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 14px 16px 2px; margin: 0 0 16px; }
.opt-box legend { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 8px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line2); transition: transform .2s; }
.gallery a:hover img { transform: scale(1.03); }
.note.brief { margin: -2px 0 12px; }
.note.brief b { display: block; color: var(--mint); margin-bottom: 4px; font-size: .9rem; }
.rev-text { color: var(--muted); font-size: .92rem; margin-top: 4px; overflow-wrap: anywhere; }

/* ---------- عرض حي متحرك ---------- */
.live-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(46, 230, 197, .35); background: rgba(46, 230, 197, .07); font-size: .84rem; font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: blink 1.6s ease-in-out infinite; box-shadow: 0 0 10px var(--mint); }
@keyframes blink { 50% { opacity: .25; } }
.live-text { background: linear-gradient(90deg, var(--muted) 0%, var(--ink) 40%, var(--mint) 50%, var(--ink) 60%, var(--muted) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 3.2s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.live-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.live-bars i { display: block; width: 3px; height: 100%; border-radius: 2px; background: var(--grad); transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.live-bars i:nth-child(2) { animation-delay: -.3s; } .live-bars i:nth-child(3) { animation-delay: -.6s; } .live-bars i:nth-child(4) { animation-delay: -.9s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.tile { position: relative; overflow: hidden; }
.tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(46, 230, 197, .09) 45%, rgba(111, 107, 255, .12) 52%, transparent 62%);
  background-size: 300% 100%; animation: sweep 6s ease-in-out infinite; }
.marquee-group .tile:nth-child(3n+2)::after { animation-delay: -2s; }
.marquee-group .tile:nth-child(3n)::after { animation-delay: -4s; }
@keyframes sweep { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }

/* ---------- صفحة التواصل ---------- */
.page-hero-contact { --c: var(--mint); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cc { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; }
a.cc:hover { transform: translateY(-4px); border-color: rgba(46, 230, 197, .45); box-shadow: var(--shadow); }
.cc-ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; flex: none; color: var(--mint); background: rgba(46, 230, 197, .1); border: 1px solid rgba(46, 230, 197, .3); }
.cc-ic .ic { width: 24px; height: 24px; }
.cc-whatsapp .cc-ic { color: #2fd477; background: rgba(47, 212, 119, .1); border-color: rgba(47, 212, 119, .3); }
.cc-email .cc-ic, .cc-website .cc-ic { color: #7aa8ff; background: rgba(122, 168, 255, .1); border-color: rgba(122, 168, 255, .3); }
.cc-instagram .cc-ic, .cc-tiktok .cc-ic { color: var(--pink); background: rgba(255, 122, 198, .1); border-color: rgba(255, 122, 198, .3); }
.cc-snapchat .cc-ic, .cc-location .cc-ic { color: var(--amber); background: rgba(255, 181, 71, .1); border-color: rgba(255, 181, 71, .3); }
.cc-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cc-body span { color: var(--muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: end; }
.cc-go .ic { width: 18px; height: 18px; color: var(--dim); transition: transform .2s, color .2s; }
a.cc:hover .cc-go .ic { transform: translateX(-4px); color: var(--mint); }
.contact-cta { margin-top: 36px; }
.fc-text { color: var(--muted); display: inline-flex; align-items: center; gap: 7px; font-size: .93rem; }
.add-contact h2 { margin-bottom: 14px; }
.row-contact { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr 90px; gap: 0 12px; }
.c-row { flex-wrap: wrap; }
.c-fields { flex: 1; display: grid; grid-template-columns: 1fr 1.6fr 1.2fr 70px; gap: 8px; min-width: 0; }
.c-fields input, .c-fields select { margin: 0; padding: 8px 10px; font-size: .9rem; }
.thumb.art .ic { color: var(--mint); }
@media (max-width: 900px) { .row-contact, .c-fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .row-contact, .c-fields { grid-template-columns: 1fr; } }

/* ---------- السعر حسب الطلب ---------- */
.price-quote { font-family: var(--font); font-feature-settings: normal; letter-spacing: 0; display: inline-flex; align-items: center; padding-inline-end: 2px; font-weight: 600; font-size: .9rem; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-quote.small { font-size: .82rem; }
.price-quote-lg { display: inline-block; white-space: normal; font-size: 1.15rem; line-height: 1.7; padding-inline-end: 2px; }
.tile .price-quote { font-size: .82rem; }
.quote-note { color: var(--indigo); background: rgba(111, 107, 255, .08); border-color: rgba(111, 107, 255, .35); }
.quote-note .ic { color: var(--indigo); }
.total-row b.price-quote { font-family: var(--font); font-size: 1.05rem; }
.price-form label { margin-bottom: 0; }
input:disabled { opacity: .45; cursor: not-allowed; }
.marquee img { -webkit-user-drag: none; user-select: none; }
.block-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
