/* ===== AMR ELking — الهوية البصرية الداكنة (v3) ===== */
:root {
  --bg: #111111;
  --surface: #1b1b1b;
  --surface-2: #222222;
  --deep: #0b0b0b;
  --text: #f5f5f5;
  --text-2: #c9c9c9;
  --muted: #a3a3a3;
  --line: #2b2b2b;
  --orange: #ff6b00;
  --orange-dark: #e05e00;
  --gold: #f5b942;
  --wa: #25d366;
  --wa-dark: #1eb85a;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --t: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: 18px; }
::placeholder { color: #8a8a8a; }

/* شريط الإعلانات */
.announce {
  background: linear-gradient(90deg, var(--orange), var(--gold));
  color: #111111;
  font-weight: 800;
  font-size: 0.86rem;
  text-align: center;
  padding: 8px 14px;
}

/* الهيدر */
.header { background: rgba(11, 11, 11, 0.92); backdrop-filter: blur(12px); color: var(--text); position: sticky; top: 0; z-index: 60; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 14px; padding-block: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 900; letter-spacing: 0.5px; color: var(--text); white-space: nowrap; }
.logo span { color: var(--orange); }
.logo .crown { width: 26px; height: 26px; color: var(--gold); display: inline-flex; }
.logo .crown svg { width: 100%; height: 100%; }
.hsearch {
  flex: 1; min-width: 180px; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--text);
}
.hsearch-ic { width: 18px; height: 18px; color: var(--muted); display: inline-flex; }
.hsearch-ic svg { width: 100%; height: 100%; }
.hsearch input { border: 0; outline: 0; flex: 1; font: inherit; background: transparent; min-width: 0; color: var(--text); }
.hicons { display: flex; gap: 6px; margin-inline-start: auto; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; color: var(--text);
  transition: background var(--t);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.icon-btn svg { width: 23px; height: 23px; }
.badge {
  position: absolute; top: 2px; inset-inline-start: 2px;
  background: var(--orange); color: #111111; font-size: 0.7rem; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.badge[hidden] { display: none; }
.nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav a {
  padding: 10px 14px; font-size: 0.95rem; font-weight: 600; color: var(--text-2); white-space: nowrap;
  border-bottom: 2px solid transparent; transition: color var(--t), border-color var(--t);
}
.nav a:hover { color: var(--text); }
.nav a.is-on { color: var(--orange); border-bottom-color: var(--orange); }

/* الأزرار */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 12px 22px;
  font-size: 1rem; font-weight: 800; transition: transform var(--t), background var(--t), box-shadow var(--t);
}
.btn:active { transform: scale(0.97); }
.btn-orange { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: #ffffff; box-shadow: 0 4px 18px rgba(255, 107, 0, 0.4); }
.btn-orange:hover { box-shadow: 0 6px 22px rgba(255, 107, 0, 0.55); }
.btn-gold { background: linear-gradient(120deg, var(--gold), #d99a1f); color: #111111; box-shadow: 0 4px 18px rgba(245, 185, 66, 0.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-wa { background: var(--wa); color: #ffffff; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-white { background: var(--text); color: #111111; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* الهيرو */
.hero { background: var(--deep); color: var(--text); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.32), transparent 65%);
  top: -180px; inset-inline-end: -120px;
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.14), transparent 65%);
  bottom: -200px; inset-inline-start: -140px;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center;
  padding-block: 60px; position: relative; z-index: 1;
}
.hero-kicker { color: var(--orange); font-weight: 800; letter-spacing: 1px; font-size: 0.95rem; margin-bottom: 10px; }
.hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 900; line-height: 1.35; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { color: var(--text-2); font-size: 1.05rem; max-width: 46ch; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-art img {
  border-radius: 20px; background: #181818; padding: 14px; aspect-ratio: 1; object-fit: contain;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-art img:first-child { transform: rotate(-3deg) translateY(14px); }
.hero-art img:last-child { transform: rotate(3deg); }

/* شريط الثقة */
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding-block: 18px; border-bottom: 1px solid var(--line); background: var(--deep);
}
.trust-item { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 0.86rem; font-weight: 700; color: var(--text-2); }
.trust-item svg { width: 24px; height: 24px; color: var(--orange); flex: none; }

/* الأقسام */
.section { padding-block: 52px; }
.section-gray { background: #161616; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; position: relative; padding-inline-start: 14px; }
.section-head h2::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px;
  width: 5px; border-radius: 4px; background: linear-gradient(var(--orange), var(--gold));
}
.section-head a { color: var(--orange); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }

/* كروت التصنيفات */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-weight: 800; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange); }
.cat-ic {
  width: 54px; height: 54px; border-radius: 16px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; color: var(--orange);
}
.cat-ic svg { width: 28px; height: 28px; }

/* كروت المنتجات */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative; display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #3d3d3d; }
.card-photo { position: relative; background: #181818; aspect-ratio: 1; display: block; }
.card-photo img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.tag-illus, .tag-sale, .tag-best, .tag-out {
  position: absolute; font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.tag-illus { bottom: 10px; inset-inline-start: 10px; background: rgba(0, 0, 0, 0.72); color: var(--text-2); border: 1px solid var(--line); }
.tag-sale { top: 10px; inset-inline-start: 10px; background: var(--orange); color: #ffffff; }
.tag-best { top: 10px; inset-inline-start: 10px; background: var(--gold); color: #111111; }
.tag-out { top: 10px; inset-inline-end: 10px; background: #b00020; color: #ffffff; }
.tag-sale ~ .tag-best { top: 40px; }
.fav-btn {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); display: flex; align-items: center; justify-content: center;
  transition: transform var(--t), color var(--t);
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn.is-on { color: var(--orange); border-color: var(--orange); }
.fav-lg { position: static; width: 50px; height: 50px; border-radius: 12px; flex: none; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.card-name { font-size: 1.02rem; font-weight: 800; line-height: 1.5; color: var(--text); }
.card-name a:hover { color: var(--orange); }
.card-price { font-size: 1.12rem; font-weight: 900; color: var(--orange); }
.card-price del { color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-inline-start: 6px; }
.card-stock { font-size: 0.82rem; font-weight: 700; }
.card-stock.in { color: #35d07f; }
.card-stock.out { color: #ff5c7a; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.card-actions .btn { flex: 1; padding: 10px 8px; font-size: 0.9rem; }

/* فلاتر المتجر */
.shop-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 7px 16px; font-size: 0.9rem; font-weight: 700; color: var(--text); transition: all var(--t);
}
.chip:hover { border-color: var(--orange); }
.chip.is-on { background: var(--orange); color: #ffffff; border-color: var(--orange); }
.shop-select {
  font: inherit; font-weight: 700; font-size: 0.9rem; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 7px 14px; background: var(--surface); color: var(--text); cursor: pointer;
}
.shop-count { margin-inline-start: auto; color: var(--muted); font-size: 0.88rem; font-weight: 700; }

/* ليه تختارنا */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-card {
  background: var(--surface); border-radius: var(--radius); padding: 24px 18px;
  border: 1px solid var(--line); text-align: center; transition: transform var(--t), box-shadow var(--t);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-ic {
  width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 18px;
  background: var(--deep); color: var(--orange); display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.why-ic svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 0.9rem; }

/* آراء العملاء */
.voices {
  background: var(--surface); color: var(--text); border-radius: 24px; border: 1px solid var(--line);
  padding: 44px 26px; text-align: center; position: relative; overflow: hidden;
}
.voices::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.22), transparent 65%);
  bottom: -180px; inset-inline-start: -120px;
}
.voices h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 900; margin-bottom: 10px; position: relative; }
.voices p { color: var(--text-2); max-width: 52ch; margin: 0 auto 22px; position: relative; }

/* بانر المنتج المميز (سبوت لايت) */
.btn-pill { border-radius: 999px; }
.spot {
  border-radius: 24px; padding: 44px 32px; color: #ffffff; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #0d0d0d 40%, #241203);
  border: 1px solid #3d2408;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center;
}
.spot::before {
  content: ""; position: absolute; inset-inline: 10%; bottom: -120px; height: 260px;
  background: radial-gradient(ellipse, rgba(255, 107, 0, 0.4), transparent 70%);
}
.spot-text { position: relative; z-index: 1; }
.spot-kicker { color: var(--gold); font-weight: 800; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 8px; }
.spot h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; margin-bottom: 10px; }
.spot p { color: var(--text-2); margin-bottom: 22px; max-width: 42ch; }
.spot-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.spot-art { position: relative; z-index: 1; }
.spot-art img {
  border-radius: 20px; background: #181818; border: 1px solid var(--line);
  aspect-ratio: 1; object-fit: contain; padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 12px 40px rgba(255, 107, 0, 0.18);
}
@media (max-width: 720px) {
  .spot { grid-template-columns: 1fr; padding: 30px 20px; }
  .spot-art { max-width: 300px; }
}

/* بانر العروض */
.offer {
  border-radius: 24px; padding: 40px 28px; color: #ffffff;
  background: linear-gradient(120deg, #160b02 30%, #3a1d05);
  border: 1px solid #4a2a10;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.offer h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; margin-bottom: 8px; }
.offer h2 span { color: var(--gold); }
.offer p { color: #d9c9b8; }

/* الفوتر */
.footer { background: var(--deep); color: var(--text-2); margin-top: 20px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding-block: 44px; }
.logo-f { display: inline-flex; margin-bottom: 10px; }
.fcol h3 { color: var(--text); font-size: 1rem; font-weight: 800; margin-bottom: 12px; }
.fcol a { display: block; padding-block: 4px; font-size: 0.92rem; transition: color var(--t); }
.fcol a:hover { color: var(--orange); }
.fcol p { font-size: 0.92rem; }
.fwa {
  display: inline-flex !important; align-items: center; gap: 8px; margin-top: 14px;
  background: var(--wa); color: #ffffff !important; font-weight: 800;
  padding: 10px 18px !important; border-radius: 12px;
}
.fwa svg { width: 18px; height: 18px; }
.footer-bar { border-top: 1px solid var(--line); padding-block: 16px; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* زر واتساب العائم */
.float-wa {
  position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); transition: transform var(--t);
  animation: wa-pulse 2.6s infinite;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* التنبيهات */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 80px); z-index: 90;
  background: #000000; border: 1px solid var(--orange); color: var(--text); font-weight: 700; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow);
  opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; pointer-events: none;
  max-width: 90vw; text-align: center;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.toast-err { background: #b00020; border-color: #b00020; }

/* حالة فاضية */
.empty {
  grid-column: 1 / -1; text-align: center; color: var(--muted); font-weight: 700;
  padding: 44px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.empty a:not(.btn) { color: var(--orange); text-decoration: underline; }
.empty .btn { margin-top: 16px; text-decoration: none; }

/* صفحة المنتج */
.page-head { padding-block: 34px 8px; }
.page-head h1 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 900; }
.crumbs { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; padding-top: 26px; }
.crumbs a:hover { color: var(--orange); }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-bottom: 40px; }
.pdp-main {
  position: relative; background: #181818; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; aspect-ratio: 1;
}
.pdp-main img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.zoom-btn {
  position: absolute; bottom: 12px; inset-inline-end: 12px;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); display: flex; align-items: center; justify-content: center;
}
.zoom-btn svg { width: 20px; height: 20px; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb {
  width: 74px; height: 74px; border-radius: 12px; border: 2px solid var(--line);
  background: #181818; overflow: hidden; padding: 6px;
}
.thumb.is-on { border-color: var(--orange); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; margin: 4px 0 10px; }
.pdp-price { font-size: 1.5rem; font-weight: 900; color: var(--orange); margin-bottom: 8px; }
.pdp-price del { color: var(--muted); font-size: 1rem; font-weight: 600; margin-inline-start: 8px; }
.pdp-price .tag-sale { position: static; font-size: 0.78rem; margin-inline-start: 8px; }
.pdp-detail { color: var(--text-2); margin-block: 12px 18px; }
.pdp-opt { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 800; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: var(--surface-2); font-size: 1.2rem; font-weight: 800; color: var(--text); }
.qty button:hover { background: #2d2d2d; }
.qty input { width: 52px; height: 42px; border: 0; text-align: center; font: inherit; font-weight: 800; outline: none; background: var(--surface); color: var(--text); }
.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.pdp-actions .btn { flex: 1; min-width: 150px; }
.pdp-notes { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 0.92rem; }
.pdp-notes li { display: flex; gap: 10px; align-items: center; }
.pdp-notes svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.94);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 12px; background: #181818; }
.lb-close {
  position: absolute; top: 18px; inset-inline-end: 18px; width: 46px; height: 46px;
  border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.lb-close svg { width: 22px; height: 22px; }

/* تبويبات صفحة المنتج */
.tabs { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 50px; overflow: hidden; }
.tabs-head { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs-head button {
  background: transparent; border: 0; color: var(--muted); font-size: 0.98rem; font-weight: 800;
  padding: 14px 22px; border-bottom: 2.5px solid transparent; white-space: nowrap;
}
.tabs-head button.is-on { color: var(--orange); border-bottom-color: var(--orange); }
.tabs-body { padding: 22px; color: var(--text-2); }
.tabs-body[hidden] { display: none; }
.spec-list { list-style: none; display: grid; gap: 10px; }
.spec-list li { display: flex; gap: 10px; align-items: flex-start; }
.spec-list svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 4px; }

/* السلة */
.cart-item {
  display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 12px;
}
.ci-photo { width: 84px; height: 84px; background: #181818; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ci-photo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ci-name { font-weight: 800; display: block; color: var(--text); }
.ci-name:hover { color: var(--orange); }
.ci-price { color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.ci-total { font-weight: 900; color: var(--orange); white-space: nowrap; }
.ci-del {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: #ff5c7a; display: flex; align-items: center; justify-content: center;
}
.ci-del svg { width: 19px; height: 19px; }
.summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 8px;
}
.summary-row { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 8px; }
.summary-row.total { font-size: 1.25rem; color: var(--orange); border-top: 1.5px dashed var(--line); padding-top: 12px; margin-top: 12px; }
.summary-note { color: var(--muted); font-size: 0.86rem; margin-bottom: 14px; }
.summary .btn { width: 100%; }

/* إتمام الطلب */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 26px; align-items: start; padding-bottom: 50px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; background: var(--surface-2); color: var(--text); outline: none; transition: border-color var(--t);
}
.field select option { background: var(--surface-2); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); }
.field textarea { resize: vertical; min-height: 80px; }
.field .is-bad { border-color: #ff5c7a; }
.form-err { color: #ff5c7a; font-size: 0.84rem; font-weight: 700; margin-top: 5px; }
.form-note { color: var(--muted); font-size: 0.88rem; margin-top: 12px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.sum-item { display: flex; justify-content: space-between; gap: 10px; padding-block: 7px; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.done-card {
  background: var(--surface); border: 1.5px solid #1f8f52; border-radius: var(--radius);
  padding: 34px 24px; text-align: center;
}
.done-ic {
  width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%;
  background: rgba(37, 211, 102, 0.12); color: #35d07f; display: flex; align-items: center; justify-content: center;
}
.done-ic svg { width: 32px; height: 32px; }
.done-card h2 { font-weight: 900; margin-bottom: 8px; }
.done-card p { color: var(--muted); max-width: 46ch; margin: 0 auto 18px; }
.done-card .btn { margin: 4px; }

/* الصفحات الثابتة */
.static-body { max-width: 760px; margin-inline: auto; padding-bottom: 50px; }
.static-body h2 { font-size: 1.15rem; font-weight: 900; margin: 26px 0 8px; }
.static-body p, .static-body li { color: var(--text-2); }
.static-body ul { padding-inline-start: 22px; display: grid; gap: 6px; margin-top: 6px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; font-weight: 800; padding: 15px 18px; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; inset-inline-end: 18px; color: var(--orange); font-size: 1.2rem; font-weight: 900; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 18px 16px; color: var(--text-2); }

/* خطوات الطلب */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; position: relative; counter-increment: step;
}
.step::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(120deg, var(--orange), var(--gold)); color: #111111;
  font-weight: 900; font-size: 1.1rem; margin-bottom: 12px;
}
.step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* وصولية */
:focus-visible { outline: 3px solid rgba(255, 107, 0, 0.55); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* موبايل وتابلت */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .header-inner { gap: 10px; }
  .hsearch { order: 3; flex-basis: 100%; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 40px; }
  .hero-art { max-width: 380px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-actions { flex-direction: column; }
  .pdp-grid, .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  .cart-item { grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; }
  .ci-photo { width: 64px; height: 64px; }
  .cart-item .qty { grid-column: 2; }
  .ci-total { grid-column: 3; grid-row: 2; }
  .ci-del { grid-column: 3; grid-row: 1; }
  .steps { grid-template-columns: 1fr; }
  .offer { padding: 30px 20px; }
  .section { padding-block: 38px; }
  .float-wa { width: 52px; height: 52px; bottom: 16px; inset-inline-start: 16px; }
  .trust-item { font-size: 0.8rem; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}

/* أزرار الهيرو بشكل كبسولة زي المراجع */
.hero-cta .btn { border-radius: 999px; }

/* ===== v4 — ستايل ReBoot ===== */
.hero-v4 { position: relative; background: #0a0a0b url(../images/hero-bg.png) center / cover no-repeat; overflow: hidden; }
.hs-track { display: flex; transition: transform 0.55s ease; }
.hs-slide { min-width: 100%; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 20px; padding: 64px 64px 88px; }
.hs-text .hero-kicker { margin-bottom: 12px; }
.hs-text h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 900; line-height: 1.32; color: #ffffff; margin-bottom: 14px; }
.hs-text h1 em { font-style: normal; color: var(--orange); }
.hs-text p { color: var(--text-2); max-width: 44ch; margin-bottom: 26px; }
.hs-price { color: var(--gold); font-weight: 900; font-size: 1.05rem; margin-bottom: 8px; }
.btn-line { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.7); color: #ffffff; border-radius: 10px; padding: 11px 28px; }
.btn-line:hover { border-color: var(--orange); color: var(--orange); }
.hs-art { display: flex; justify-content: center; }
.hs-art img { max-height: 340px; width: auto; max-width: 100%; object-fit: contain; transform: rotate(5deg); border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.65)); }
.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; background: rgba(20, 20, 20, 0.55); border: 1px solid var(--line); color: #ffffff;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); z-index: 3;
  transition: border-color var(--t), color var(--t);
}
.hs-arrow svg { width: 20px; height: 20px; }
.hs-arrow:hover { border-color: var(--orange); color: var(--orange); }
.hs-prev { inset-inline-start: 14px; }
.hs-next { inset-inline-end: 14px; }
.hs-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hs-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: #4a4a4a; transition: all var(--t); padding: 0; }
.hs-dots button.is-on { background: var(--orange); width: 26px; }

.section-head-center { text-align: center; margin-bottom: 30px; }
.section-head-center h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 900; }
.section-head-center h2 em { font-style: normal; color: var(--orange); }
.section-head-center p { color: var(--muted); margin-top: 6px; }

.marquee { background: linear-gradient(90deg, var(--orange), var(--gold)); color: #111111; overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; gap: 34px; width: max-content; white-space: nowrap; font-weight: 800; font-size: 0.95rem; animation: mq 22s linear infinite; }
.mq-dot { color: rgba(17, 17, 17, 0.45); }
@keyframes mq { to { transform: translateX(-50%); } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; border-radius: 18px; overflow: hidden; min-height: 230px; display: flex; align-items: flex-end; border: 1px solid var(--line); background: #181818; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.4s ease; }
.tile:hover img { transform: scale(1.05); }
.tile-info { position: relative; width: 100%; padding: 44px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.88)); display: flex; justify-content: space-between; align-items: center; }
.tile-name { font-weight: 900; font-size: 1.1rem; color: #ffffff; }
.tile-go { color: var(--orange); font-weight: 800; font-size: 0.9rem; }

@media (max-width: 720px) {
  .hs-slide { grid-template-columns: 1fr; padding: 42px 22px 76px; text-align: center; gap: 24px; }
  .hs-text p { margin-inline: auto; }
  .hs-art img { max-height: 220px; transform: rotate(3deg); }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 190px; }
}

/* ===== v5 — الترويسة والهيرو والأقسام الجديدة ===== */
.topbar { background: #050505; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--text-2); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 6px; }
.topbar-items { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; white-space: nowrap; }
.topbar-items svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.topbar-wa { width: 26px; height: 26px; color: var(--wa); display: inline-flex; flex: none; }
.topbar-wa svg { width: 100%; height: 100%; }

.logo-col { display: inline-flex; flex-direction: column; line-height: 1.05; color: var(--text); }
.logo .logo-col { color: var(--text); }
.logo-line { color: var(--text); }
.logo .logo-line { color: var(--text); }
.logo-line b { color: var(--orange); font-weight: 900; }
.logo-col small { font-size: 0.56rem; letter-spacing: 2.5px; color: var(--muted); font-weight: 700; }

.hsearch { padding: 4px; padding-inline-start: 14px; }
.hsearch-btn { background: var(--orange); border: 0; color: #111111; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background var(--t); }
.hsearch-btn:hover { background: var(--orange-dark); }
.hsearch-btn svg { width: 18px; height: 18px; }

.nav-item { position: relative; display: inline-flex; }
.nav-drop { position: absolute; top: 100%; inset-inline-start: 0; min-width: 190px; background: #151515; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 90; flex-direction: column; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { display: flex; }
.nav-drop a { padding: 8px 12px !important; border: 0 !important; border-radius: 8px; color: var(--text-2); font-size: 0.92rem; }
.nav-drop a:hover { background: var(--surface-2); color: var(--text); }
.nav-caret { font-style: normal; font-size: 0.8em; }

.section-head p { color: var(--text-2); margin-top: 4px; }
.section-head h2 em, .car-head h2 em { font-style: normal; color: var(--orange); }

/* الهيرو السينمائي */
.hero5 { position: relative; background: #0b0b0b url(../../images/hero5-bg.png) center / cover no-repeat; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero5-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 24px; min-height: 540px; padding-block: 60px; }
.hero5-text h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.hero5-text h1 em { font-style: normal; color: var(--orange); text-shadow: 0 0 34px rgba(255, 107, 0, 0.45); }
.hero5-desc { display: flex; align-items: center; gap: 14px; color: var(--text-2); font-size: 1.15rem; font-weight: 700; margin-bottom: 30px; }
.hero5-desc .dash { width: 46px; height: 2px; display: inline-block; flex: none; }
.dash-r { background: linear-gradient(270deg, var(--orange), transparent); }
.dash-l { background: linear-gradient(90deg, var(--orange), transparent); }
.hero5-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; padding: 14px 34px; color: #111111; box-shadow: 0 8px 30px rgba(255, 107, 0, 0.55), 0 0 48px rgba(255, 107, 0, 0.35); }
.hero5-btn:hover { box-shadow: 0 10px 34px rgba(255, 107, 0, 0.7), 0 0 60px rgba(255, 107, 0, 0.45); }
.hero5-btn svg { width: 20px; height: 20px; }

.hero5-art { position: relative; min-height: 430px; }
.ha-pedestal { position: absolute; bottom: -12px; inset-inline-start: 46px; width: 400px; max-width: 90%; height: 112px; border-radius: 50%; border: 2px solid rgba(255, 107, 0, 0.55); background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.22), rgba(255, 107, 0, 0.05) 55%, transparent 75%); box-shadow: 0 0 70px rgba(255, 107, 0, 0.3), inset 0 0 46px rgba(255, 107, 0, 0.28); }
.ha-img { position: absolute; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #151515; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 44px rgba(255, 107, 0, 0.16); }
.ha-img img { width: 100%; height: 100%; object-fit: cover; }
.ha-1 { width: 215px; height: 215px; bottom: 52px; inset-inline-start: 118px; transform: rotate(-4deg); z-index: 3; }
.ha-2 { width: 152px; height: 152px; bottom: 118px; inset-inline-start: 4px; transform: rotate(5deg); z-index: 2; }
.ha-3 { width: 132px; height: 132px; bottom: 168px; inset-inline-start: 268px; transform: rotate(6deg); z-index: 1; }
.ha-4 { width: 108px; height: 108px; bottom: 42px; inset-inline-start: 336px; transform: rotate(-7deg); z-index: 2; }
.hero5-illus { position: absolute; bottom: -30px; inset-inline-start: 46px; font-size: 0.72rem; color: var(--muted); }

.hero5-chips { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 30px; z-index: 6; }
.hero5-chips span { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 0.85rem; font-weight: 800; color: var(--text-2); text-align: center; }
.hero5-chips svg { width: 28px; height: 28px; color: var(--orange); }

/* شريط التصنيفات */
.catstrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
@media (min-width: 1100px) {
  .catstrip { grid-template-columns: repeat(11, 1fr); }
}
.cat5 { display: flex; flex-direction: column; align-items: center; gap: 10px; background: #151515; border: 1px solid var(--line); border-radius: 16px; padding: 14px 10px 14px; text-align: center; transition: border-color var(--t), transform var(--t); }
a.cat5:hover { border-color: var(--orange); transform: translateY(-3px); }
.cat5-media { width: 100%; height: 108px; display: flex; align-items: center; justify-content: center; border-radius: 12px; overflow: hidden; }
.cat5-media img { width: 100%; height: 100%; object-fit: cover; }
.cat5-icon { color: var(--orange); background: var(--surface-2); }
.cat5-icon svg { width: 42px; height: 42px; }
.cat5-name { font-weight: 800; font-size: 0.88rem; line-height: 1.45; }
.cat5-soon { font-size: 0.7rem; font-weight: 800; color: var(--orange); border: 1px solid var(--orange); border-radius: 999px; padding: 2px 12px; }

/* كاروسيل المنتجات */
.car-head { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 24px; }
.car-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 900; }
.car-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #151515; color: var(--text); display: inline-flex; align-items: center; justify-content: center; transition: border-color var(--t), color var(--t); flex: none; }
.car-btn:hover { border-color: var(--orange); color: var(--orange); }
.car-btn svg { width: 18px; height: 18px; }
.car-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track .card { min-width: 236px; max-width: 236px; scroll-snap-align: start; }

/* البانرات الترويجية */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promo { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #181818, #0b0b0b); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 28px; min-height: 200px; }
.promo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 125%, rgba(255, 107, 0, 0.3), transparent 55%); pointer-events: none; }
.promo-txt { position: relative; z-index: 1; }
.promo-kick { color: var(--orange); font-weight: 800; font-size: 0.82rem; letter-spacing: 1.5px; margin-bottom: 8px; }
.promo h3 { font-size: 1.55rem; font-weight: 900; line-height: 1.45; margin-bottom: 16px; }
.promo-img { position: relative; z-index: 1; width: 150px; flex: none; }
.promo-img img { border-radius: 14px; transform: rotate(5deg); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55); }

/* شريط الثقة */
.trust5 { border-block: 1px solid var(--line); background: #0e0e0e; padding-block: 26px; }
.trust5-inner { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trust5-item { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.95rem; color: var(--text); }
.trust5-item svg { width: 30px; height: 30px; color: var(--orange); flex: none; }
.trust5-item small { display: block; font-size: 0.74rem; color: var(--muted); font-weight: 600; }
.trust5-logo { text-align: center; padding-inline: 22px; border-inline: 1px solid var(--line); }
.trust5-logo small { display: block; color: var(--orange); font-weight: 800; font-size: 0.85rem; margin-top: 2px; }

/* ليه تختارنا + الشحن والدفع */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-card { background: #151515; border: 1px solid var(--line); border-radius: 16px; padding: 24px 18px; text-align: center; transition: border-color var(--t), transform var(--t); }
.why-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.why-card svg { width: 36px; height: 36px; color: var(--orange); margin-bottom: 12px; }
.why-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 6px; }
.why-card p { font-size: 0.85rem; color: var(--text-2); }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-card { background: #151515; border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; }
.sp-card svg { width: 34px; height: 34px; color: var(--orange); margin-bottom: 12px; }
.sp-card h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 8px; }
.sp-card p { font-size: 0.92rem; color: var(--text-2); margin-bottom: 14px; }
.sp-link { color: var(--orange); font-weight: 800; font-size: 0.9rem; }
.sp-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .hero5-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 46px; text-align: center; gap: 36px; }
  .hero5-desc { justify-content: center; font-size: 1.02rem; }
  .hero5-art { min-height: 320px; max-width: 360px; margin-inline: auto; width: 100%; }
  .ha-pedestal { inset-inline-start: 16px; width: 310px; height: 88px; }
  .ha-1 { width: 160px; height: 160px; inset-inline-start: 92px; bottom: 40px; }
  .ha-2 { width: 116px; height: 116px; inset-inline-start: 2px; bottom: 96px; }
  .ha-3 { width: 100px; height: 100px; inset-inline-start: 208px; bottom: 128px; }
  .ha-4 { display: none; }
  .hero5-illus { inset-inline-start: 16px; bottom: -26px; }
  .hero5-chips { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .sp-grid { grid-template-columns: 1fr; }
  .promos { grid-template-columns: 1fr; }
  .promo-img { width: 112px; }
  .trust5-logo { border: 0; width: 100%; order: -1; padding-inline: 0; }
  .topbar-items { gap: 12px; font-size: 0.7rem; }
}
@media (max-width: 640px) {
  .catstrip { display: flex; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .catstrip::-webkit-scrollbar { display: none; }
  .cat5 { width: 138px; flex: none; }
  .cat5-media { height: 92px; }
  .hero5-desc .dash { display: none; }
  .topbar-items span:nth-child(3) { display: none; }
}





/* ===== v5.1 — مطابقة أدق لصورة المفهوم ===== */
.ha-img { background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.ha-img img { border-radius: 50%; }
.ha-pedestal { display: none; }
.ha-platform { position: absolute; bottom: 16px; inset-inline-start: 66px; width: 360px; max-width: 88%; height: 96px; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #2b2b2b, #090909 72%); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.75); z-index: 1; }
.ha-ring { position: absolute; bottom: 2px; inset-inline-start: 50px; width: 396px; max-width: 94%; height: 112px; border-radius: 50%; border: 3px solid rgba(255, 107, 0, 0.7); box-shadow: 0 0 40px rgba(255, 107, 0, 0.5), inset 0 0 26px rgba(255, 107, 0, 0.35); z-index: 0; }
.ha-ring2 { bottom: -10px; inset-inline-start: 34px; width: 428px; max-width: 100%; height: 130px; border-color: rgba(255, 140, 40, 0.25); }
.ha-1 { width: 240px; height: 240px; bottom: 62px; inset-inline-start: 118px; z-index: 4; }
.ha-2 { width: 170px; height: 170px; bottom: 128px; inset-inline-start: 4px; z-index: 3; }
.ha-3 { width: 150px; height: 150px; bottom: 158px; inset-inline-start: 288px; z-index: 2; }
.ha-4 { width: 128px; height: 128px; bottom: 48px; inset-inline-start: 322px; z-index: 3; }

.offers-row { display: grid; grid-template-columns: 1.08fr 2fr 1.08fr; gap: 14px; align-items: stretch; }
.offers-row > * { min-width: 0; }
.best-block { background: #101010; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; min-width: 0; }
.best-block .car-head { margin-bottom: 14px; gap: 12px; }
.best-block .car-head h2 { font-size: 1.4rem; }
.car-arrows { display: inline-flex; gap: 8px; }
.best-block .car-track .card { min-width: 150px; max-width: 150px; }
.best-block .card-actions { flex-direction: column; }
.best-block .card-actions .btn { font-size: 0.78rem; padding: 8px 6px; }
.promo-side { flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 20px; min-height: 0; }
.promo-visual { position: relative; overflow: hidden; }
.promo-visual .promo-txt { position: relative; z-index: 1; width: 100%; }
.promo-visual .btn { white-space: nowrap; padding: 9px 18px; font-size: 0.88rem; }
.promo-visual .btn-orange { color: #111111; }
.promo-visual .promo-txt h3 em { color: var(--orange); font-style: normal; }
.promo-art { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 60%; z-index: 0; }
.promo-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 38%), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 38%), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }
.promo-sub { font-size: 0.85rem; color: var(--muted); margin: -8px 0 14px; font-weight: 600; }
.offer-tag { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; border-radius: 10px; padding: 6px 14px; text-align: center; box-shadow: 0 8px 22px rgba(255, 107, 0, 0.45); transform: rotate(-4deg); }
.offer-tag small { display: block; font-size: 0.66rem; font-weight: 700; }
.offer-tag b { font-size: 1.2rem; font-weight: 900; line-height: 1.15; }
.promo-side .promo-kick { font-size: 0.72rem; letter-spacing: 0.5px; }
.promo-side h3 { font-size: 1.2rem; }
.promo-side .promo-img { width: 120px; align-self: flex-end; margin-top: 12px; }
.promo-side .btn { padding: 8px 20px; font-size: 0.92rem; }

.icon-account { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; padding-inline: 10px; font-size: 0.88rem; font-weight: 700; }
.icon-account svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .ha-platform { inset-inline-start: 20px; width: 300px; height: 80px; bottom: 10px; }
  .ha-ring { inset-inline-start: 6px; width: 328px; height: 94px; bottom: -2px; }
  .ha-ring2 { inset-inline-start: -6px; width: 352px; height: 108px; bottom: -10px; }
  .ha-1 { width: 170px; height: 170px; inset-inline-start: 92px; bottom: 48px; }
  .ha-2 { width: 122px; height: 122px; inset-inline-start: 0; bottom: 100px; }
  .ha-3 { width: 104px; height: 104px; inset-inline-start: 210px; bottom: 124px; }
  .ha-4 { display: none; }
  .offers-row { grid-template-columns: 1fr; }
  .promo-visual { min-height: 360px; }
  .best-block { order: -1; }
  .promo-side .promo-img { width: 110px; }
  .acc-label { display: none; }
}

/* v5.1 — logo image lockup (from Amr's concept) */
.logo-img { height: 46px; width: auto; display: block; }
.logo-img-f { height: 42px; margin-bottom: 10px; }
.trust5-logo .logo-img { height: 56px; margin-inline: auto; }
@media (max-width: 720px) {
  .logo-img { height: 38px; }
  .trust5-logo .logo-img { height: 46px; }
}

/* ===== v5.2 — خلفية هيرو كاملة من صورة المفهوم ===== */
.hero5 { background: #0b0b0b url(../../images/hero-bg.jpg) center / cover no-repeat; }
.hero5::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, rgba(11, 11, 11, 0.78) 0%, rgba(11, 11, 11, 0.38) 42%, rgba(11, 11, 11, 0) 68%); }
.hero5-inner { grid-template-columns: auto minmax(0, 1.05fr) 0.95fr; gap: 18px; min-height: 560px; position: relative; z-index: 2; }
.hero5-chips { position: static; transform: none; display: flex; flex-direction: column; gap: 30px; padding-inline-start: 6px; }
.hero5-text { text-align: right; }
.hero5-text h1, .hero5-text .hero5-desc { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85); }
.hero5-illus { position: absolute; bottom: 14px; inset-inline-end: 22px; inset-inline-start: auto; z-index: 3; font-size: 0.72rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero5 { background-position: 32% center; }
  .hero5::before { background: rgba(11, 11, 11, 0.42); }
  .hero5-inner { grid-template-columns: 1fr; min-height: 480px; padding-block: 60px; text-align: center; }
  .hero5-text { text-align: center; }
  .hero5-chips { display: none; }
  .hero5-illus { inset-inline-end: 0; inset-inline-start: 0; text-align: center; }
}

/* ===== v5.3 — عرض المشهد كاملاً بدون قص ===== */
.hero5 { background-position: left center; }
@media (max-width: 900px) {
  .hero5 { background: #0b0b0b url(../../images/hero-bg-mobile.jpg) center bottom / 100% auto no-repeat; }
  .hero5::before { background: linear-gradient(to bottom, rgba(11,11,11,.25), rgba(11,11,11,0) 55%); }
  .hero5-inner { min-height: 0; padding-top: 52px; padding-bottom: 200px; }
  .hero5-illus { bottom: 8px; }
}

/* ===== v5.7 — تحسين تجربة الموبايل (تصميم فقط، بدون تغيير بيانات أو وظائف) ===== */
@media (max-width: 900px) {
  /* بانرات العروض مستقلة أسفل المنتجات */
  .offers-row { display: flex; flex-direction: column; gap: 14px; }
  .offers-row .best-block { order: 1; }
  .offers-row .promo-side { order: 2; }
  .offers-row .promo-offer { order: 3; }
  .promo-visual { min-height: 300px; }
  .promo-side h3 { font-size: 1.35rem; }
}
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }
  .wrap { padding-inline: 12px; }
  .section { padding-block: 28px; }
  .section-head h2 { font-size: 1.35rem; }
  .section-head p { font-size: 0.92rem; line-height: 1.7; }

  /* الهيدر */
  .header-inner { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icons logo" "search search"; gap: 8px 10px; padding-block: 8px; }
  .header-inner .logo { grid-area: logo; justify-self: end; }
  .header-inner .hicons { grid-area: icons; margin: 0; gap: 2px; }
  .header-inner .hsearch { grid-area: search; min-width: 0; padding: 8px 12px; }
  .hsearch input { font-size: 16px; }
  .icon-btn { width: 44px; height: 44px; }
  .icon-btn svg { width: 24px; height: 24px; }
  .nav a { font-size: 0.95rem; padding: 10px 12px; }

  /* التصنيفات: شبكة متساوية */
  .catstrip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; overflow: visible; padding-bottom: 0; }
  .cat5 { width: calc((100% - 16px) / 3); flex: none; min-width: 0; padding: 10px 6px; gap: 8px; }
  .cat5-media { height: 76px; }
  .cat5-icon svg { width: 34px; height: 34px; }
  .cat5-name { font-size: 0.8rem; }

  /* المنتجات: عمودين متساويين بعرض الشاشة */
  .best-block { padding: 12px 8px; border-radius: 14px; }
  .best-block .car-head { justify-content: flex-start; margin-bottom: 10px; }
  .best-block .car-head h2 { font-size: 1.25rem; }
  .car-arrows { display: none; }
  .car-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; padding-bottom: 0; }
  .best-block .car-track .card, .car-track .card { min-width: 0; max-width: none; width: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

  /* كروت موحدة */
  .card { border-radius: 14px; }
  .card-photo { aspect-ratio: 1 / 1; }
  .card-photo img { padding: 8px; object-fit: contain; }
  .card-body { padding: 10px 10px 12px; gap: 4px; }
  .card-cat { font-size: 0.74rem; }
  .card-name { font-size: 0.92rem; line-height: 1.45; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-price { font-size: 1.02rem; }
  .card-stock { font-size: 0.78rem; }
  .card-actions { flex-direction: column; gap: 6px; }
  .card-actions .btn, .best-block .card-actions .btn { padding: 9px 6px; font-size: 0.86rem; min-height: 40px; }

  /* أدوات المتجر */
  .shop-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .shop-tools .chips { grid-column: 1 / -1; }
  .shop-tools .shop-select { width: 100%; min-width: 0; }
  .shop-tools .shop-count { grid-column: 1 / -1; font-size: 0.85rem; }

  /* بانرات العروض */
  .promo-visual { min-height: 280px; padding: 18px; }
  .promo-side h3 { font-size: 1.3rem; }
  .promo-kick { font-size: 0.8rem; }

  /* شريط الثقة */
  .trust5-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .trust5-logo { grid-column: 1 / -1; }
  .trust5-item { font-size: 0.88rem; }
  .why-grid, .sp-grid { gap: 8px; }
  .why-card h3 { font-size: 1rem; }
  .why-card p, .sp-card p, .step p { font-size: 0.9rem; line-height: 1.7; }
}
@media (max-width: 360px) {
  .card-name { font-size: 0.86rem; }
  .card-actions .btn { font-size: 0.8rem; }
  .cat5-name { font-size: 0.74rem; }
}

.amr-blks{display:grid;gap:10px;padding:12px 0}.amr-blk{display:grid;gap:2px;padding:14px;border:1px solid #FF6B00;border-radius:12px;background:rgba(255,107,0,.08);color:inherit;text-decoration:none}.amr-blk span{opacity:.8;font-size:14px}
.coupon-row{display:flex;gap:8px}.coupon-row input{flex:1}
.pay-box{display:grid;gap:2px;padding:12px 14px;border:1px solid #FF6B00;border-radius:12px;background:rgba(255,107,0,.08)}.pay-box span{opacity:.8;font-size:14px}
