/* تذييل HEIN — مضغوط + أيقونات واضحة */
body.cmp {
  --ft-red: var(--red, #e11d2e);
  --ft-bg: #121212;
  --ft-bg2: #181818;
  --ft-card: #222;
  --ft-line: rgba(255, 255, 255, .08);
  --ft-txt: #f1f1f1;
  --ft-mut: #9a9fab;
}

body.cmp .hh-ft {
  background: var(--ft-bg);
  color: var(--ft-txt);
  font-family: 'Cairo', sans-serif;
  margin-top: auto;
}

body.cmp .hh-ft a {
  color: inherit;
  text-decoration: none;
  outline-offset: 2px;
}

body.cmp .hh-ft a:focus-visible,
body.cmp .hh-fl:focus-visible {
  outline: 2px solid var(--ft-red);
}

body.cmp .hh-ft-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* —— علاماتنا التجارية (قسم مستقل فوق الفوتر) —— */
body.cmp .hh-brands {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 28px 0 22px;
  color: #0f172a;
}
body.cmp .hh-brands-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
body.cmp .hh-brands-title {
  margin: 0 0 16px;
  text-align: center;
  font: 800 20px/1.3 Cairo, sans-serif;
  color: #334155;
  letter-spacing: -.01em;
}
body.cmp .hh-mq {
  background: transparent;
  direction: ltr;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
body.cmp .hh-mq-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: hh-mq-mv 36s linear infinite;
  will-change: transform;
}
body.cmp .hh-mq:hover .hh-mq-track {
  animation-play-state: paused;
}
@keyframes hh-mq-mv {
  to { transform: translateX(-50%); }
}
body.cmp .hh-bm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 64px;
  padding: 10px 14px;
  background: #eef1f5;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  flex: none;
  box-shadow: none;
  transition: border-color .15s, background .15s, transform .15s;
}
body.cmp .hh-bm img {
  display: block;
  width: 100%;
  height: 36px;
  max-width: 104px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
  opacity: .88;
  transition: transform .15s ease, opacity .15s ease, filter .15s ease;
}
body.cmp .hh-mq:hover .hh-bm {
  opacity: .85;
}
body.cmp .hh-mq:hover .hh-bm:hover {
  opacity: 1;
  background: #fff;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
body.cmp .hh-mq:hover .hh-bm:hover img {
  transform: scale(1.04);
  filter: none;
  opacity: 1;
}

/* —— التقييمات (مضغوطة) —— */
body.cmp .hh-rv {
  background: var(--ft-bg2);
  padding: 26px 0;
}

body.cmp .hh-rg {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 22px;
  align-items: center;
}

body.cmp .hh-rs {
  text-align: center;
  padding-inline-end: 22px;
  border-inline-end: 1px solid var(--ft-line);
}

body.cmp .hh-rs .n {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

body.cmp .hh-st {
  display: inline-flex;
  gap: 2px;
  color: #fbbf24;
  font-size: 13px;
}

body.cmp .hh-rs .hh-st {
  font-size: 15px;
  margin: 6px 0 4px;
}

body.cmp .hh-rs p {
  font-size: 12.5px;
  color: var(--ft-mut);
  margin: 0 0 12px;
  line-height: 1.45;
}

body.cmp .hh-btnr {
  display: inline-block;
  background: var(--ft-red);
  color: #fff !important;
  border-radius: 99px;
  padding: 7px 18px;
  font-weight: 700;
  font-size: 12.5px;
  transition: filter .15s, transform .15s;
}

body.cmp .hh-btnr:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

body.cmp .hh-cs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

body.cmp .hh-rc {
  background: var(--ft-card);
  border-radius: 14px;
  padding: 14px 15px;
  min-height: 0;
  border: 1px solid var(--ft-line);
}

body.cmp .hh-rh {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

body.cmp .hh-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  flex: none;
}

body.cmp .hh-rh b {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

body.cmp .hh-rh small {
  color: var(--ft-mut);
  font-size: 11.5px;
}

body.cmp .hh-rc .hh-st {
  font-size: 12px;
  margin-bottom: 6px;
}

body.cmp .hh-rc p {
  font-size: 13px;
  line-height: 1.65;
  color: #c9ccd4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— أعمدة التذييل —— */
body.cmp .hh-ft-body {
  background: var(--ft-bg);
  padding: 14px 0 12px;
}

body.cmp .hh-fg {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

body.cmp .hh-fg.hh-fg--slim {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 24px;
  align-items: center;
}

body.cmp .hh-fg-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

body.cmp .hh-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  min-width: 0;
}

body.cmp .hh-contact-row .hh-ci {
  margin: 0;
  white-space: nowrap;
}

body.cmp .hh-so.hh-so--inline {
  margin: 0;
  margin-inline-start: 4px;
}

body.cmp .hh-so.hh-so--inline a {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

body.cmp .hh-ft-brand{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  color:inherit;
  background:none;
  border:0;
  box-shadow:none;
  padding:0;
}
body.cmp .hh-ft-logo-img{
  display:block;
  height:58px;
  width:auto;
  max-width:min(260px,78vw);
  object-fit:contain;
  background:none;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
  filter:none;
}
body.cmp .hh-ft-logo {
  display: inline-block;
  background: var(--ft-red);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
  padding: 7px 12px 6px;
  border-radius: 6px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cmp .hh-ds {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ft-mut);
  margin: 6px 0 0;
  max-width: 280px;
}

body.cmp .hh-fg--slim .hh-ds {
  margin-bottom: 0;
}

body.cmp .hh-so {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.cmp .hh-so a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  color: #d0d3db;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}

body.cmp .hh-so a:hover {
  background: var(--ft-red);
  border-color: var(--ft-red);
  color: #fff;
  transform: translateY(-2px);
}

body.cmp details.hh-ct {
  border: 0;
}

body.cmp details.hh-ct > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

body.cmp details.hh-ct > summary::-webkit-details-marker {
  display: none;
}

body.cmp details.hh-ct > summary h4 {
  flex: 1;
}

body.cmp .hh-ct h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ft-red);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ft-line);
  margin: 0 0 6px;
  letter-spacing: .02em;
}

body.cmp .hh-ct .l {
  display: block;
  padding: 5px 0;
  color: var(--ft-mut);
  font-size: 13.5px;
  transition: color .15s, padding .15s;
}

body.cmp .hh-ct .l:hover {
  color: #fff;
  padding-inline-start: 4px;
}

body.cmp .hh-ci {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  color: #d4d6dc;
  font-size: 13.5px;
  line-height: 1.45;
}

body.cmp .hh-ci .ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  color: var(--ft-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
body.cmp .hh-ci .ico iconify-icon.co-ico {
  font-size: 14px;
  color: var(--ft-red);
}
body.cmp .hh-st iconify-icon.co-ico {
  font-size: 13px;
  color: #fbbf24;
}
body.cmp .hh-so a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}
body.cmp .hh-so iconify-icon.co-ico {
  font-size: 18px;
}
body.cmp .hh-fl iconify-icon.co-ico {
  font-size: 22px;
}
body.cmp .hh-fl.wa iconify-icon.co-ico {
  font-size: 26px;
  color: #fff;
}

body.cmp .hh-ci span[dir] {
  unicode-bidi: embed;
}

body.cmp .hh-cr {
  display: none;
  width: 0;
  height: 0;
  border-inline: 5px solid transparent;
  border-top: 7px solid var(--ft-red);
  transition: transform .2s;
}

/* —— شريط الحقوق —— */
body.cmp .hh-bar {
  background: #0a0a0a;
  border-top: 1px solid var(--ft-line);
}

body.cmp .hh-bar .hh-ft-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 12.5px;
  color: #7d828d;
}

body.cmp .hh-bar.hh-bar--only .hh-ft-in {
  justify-content: center;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

body.cmp .hh-bar .hh-copy {
  margin: 0;
}

body.cmp .hh-bar b {
  color: #ff4d5b;
  font-weight: 700;
}

body.cmp .hh-bar nav {
  display: none;
}

/* —— أزرار عائمة —— */
body.cmp .hh-fl {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  transition: transform .15s;
  text-decoration: none;
}

body.cmp .hh-fl:hover {
  transform: translateY(-2px);
}

body.cmp .hh-fl.wa {
  left: 16px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 18px -8px rgba(37, 211, 102, .65);
}

body.cmp .hh-fl.up {
  right: 16px;
  width: 40px;
  height: 40px;
  background: #fff;
  color: #111;
  font-size: 14px;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .55);
}

@media (max-width: 980px) {
  body.cmp .hh-rg {
    grid-template-columns: 1fr;
  }

  body.cmp .hh-rs {
    border: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--ft-line);
    margin-bottom: 16px;
  }

  body.cmp .hh-cs {
    grid-template-columns: repeat(3, 1fr);
  }

  body.cmp .hh-fg {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  body.cmp .hh-fg.hh-fg--slim {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.cmp .hh-contact-row {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body.cmp .hh-brands {
    padding: 22px 0 16px;
  }
  body.cmp .hh-brands-title {
    font-size: 17px;
    margin-bottom: 12px;
  }
  body.cmp .hh-bm {
    width: 112px;
    height: 56px;
    padding: 8px 10px;
  }
  body.cmp .hh-bm img {
    height: 30px;
    max-width: 88px;
  }
  body.cmp .hh-mq-track {
    gap: 10px;
  }
  body.cmp .hh-mq {
    padding: 2px 0;
  }

  body.cmp .hh-rv {
    padding: 20px 0;
  }

  body.cmp .hh-rs .n {
    font-size: 32px;
  }

  body.cmp .hh-cs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    margin-inline: -18px;
    padding: 0 18px 4px;
    scrollbar-width: none;
  }

  body.cmp .hh-cs::-webkit-scrollbar {
    display: none;
  }

  body.cmp .hh-rc {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }

  body.cmp .hh-ft-body {
    padding: 16px 0 10px;
  }

  body.cmp .hh-fg,
  body.cmp .hh-fg.hh-fg--slim {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.cmp .hh-fg-brand {
    text-align: center;
    align-items: center;
    padding-bottom: 2px;
  }

  body.cmp .hh-ds {
    margin-inline: auto;
  }

  body.cmp .hh-so,
  body.cmp .hh-so.hh-so--inline {
    justify-content: center;
    margin-inline-start: 0;
    width: 100%;
  }

  body.cmp .hh-contact-row {
    justify-content: center;
    gap: 8px 12px;
  }

  body.cmp .hh-contact-row .hh-ci {
    white-space: normal;
  }

  body.cmp details.hh-ct {
    border-top: 1px solid var(--ft-line);
  }

  body.cmp details.hh-ct[open] {
    padding-bottom: 6px;
  }

  body.cmp details.hh-ct > summary {
    pointer-events: auto;
    cursor: pointer;
    padding: 12px 2px;
  }

  body.cmp details.hh-ct h4 {
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #fff;
  }

  body.cmp .hh-cr {
    display: block;
  }

  body.cmp details.hh-ct[open] .hh-cr {
    transform: rotate(180deg);
  }

  body.cmp .hh-bar .hh-ft-in,
  body.cmp .hh-bar.hh-bar--only .hh-ft-in {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  body.cmp .hh-bar nav {
    justify-content: center;
  }

  body.cmp .hh-fl.wa {
    width: 46px;
    height: 46px;
    font-size: 22px;
    left: 12px;
  }

  body.cmp .hh-fl.up {
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cmp .hh-mq-track {
    animation: none;
  }

  body.cmp .hh-mq {
    overflow-x: auto;
  }

  body.cmp .hh-ft *,
  body.cmp .hh-fl {
    transition: none !important;
  }
}
