/* ESHRAQ SOLAR | ZID SOFT | HOME v1.0
   Scoped to #eshraq-zid-home: checkout/cart remain untouched. */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap');

#eshraq-zid-home,
#eshraq-zid-home * { box-sizing: border-box; }

#eshraq-zid-home {
  --esh-navy: #07224e;
  --esh-dark: #06182f;
  --esh-blue: #0d3d77;
  --esh-green: #a7e06e;
  --esh-ink: #102744;
  --esh-muted: #66778d;
  direction: rtl;
  width: 100%;
  padding: 24px 18px 66px;
  background: #f7f9fc;
  color: var(--esh-ink);
  font-family: 'Tajawal', Arial, sans-serif;
  line-height: 1.6;
  overflow: hidden;
}
#eshraq-zid-home[dir="ltr"] { direction: ltr; }
#eshraq-zid-home a { text-decoration: none; }
#eshraq-zid-home .esh-shell { max-width: 1260px; margin: 0 auto; }

/* Main hero */
#eshraq-zid-home .esh-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  min-height: 505px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(32px, 5.5vw, 78px);
  background: radial-gradient(circle at 78% 27%, #1766a0 0, transparent 36%),
              linear-gradient(120deg, #061a38 0%, #072a59 53%, #09264b 100%);
  box-shadow: 0 24px 55px rgba(7,34,78,.13);
  color: #fff;
}
#eshraq-zid-home .esh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background: repeating-linear-gradient(135deg, transparent 0, transparent 90px, rgba(255,255,255,.055) 91px, transparent 92px);
}
#eshraq-zid-home .esh-hero-content { position: relative; z-index: 3; }
#eshraq-zid-home .esh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 19px;
  padding: 8px 14px;
  color: #e5f9d0;
  background: rgba(181,239,131,.11);
  border: 1px solid rgba(181,239,131,.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
#eshraq-zid-home .esh-eyebrow::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9f27a;
  box-shadow: 0 0 12px #b9f27a;
}
#eshraq-zid-home .esh-hero h1 {
  max-width: 700px;
  margin: 0 0 17px;
  color: #fff;
  font-size: clamp(31px, 3.3vw, 51px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.5px;
}
#eshraq-zid-home .esh-hero h1 em { color: var(--esh-green); font-style: normal; }
#eshraq-zid-home .esh-hero-copy {
  max-width: 520px;
  margin: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  color: #d6e2f1;
}
#eshraq-zid-home .esh-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 31px; }
#eshraq-zid-home .esh-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 23px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
#eshraq-zid-home .esh-btn:hover { transform: translateY(-2px); }
#eshraq-zid-home .esh-btn-primary { background: var(--esh-green); color: #07224e; box-shadow: 0 9px 24px rgba(167,224,110,.16); }
#eshraq-zid-home .esh-btn-primary:hover { background: #c5f29a; color: #07224e; }
#eshraq-zid-home .esh-btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
#eshraq-zid-home .esh-btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }

/* CSS-drawn solar illustration; no artificial product photos */
#eshraq-zid-home .esh-hero-art { position: relative; height: 365px; min-width: 0; isolation: isolate; }
#eshraq-zid-home .esh-sun {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(27vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 30%, #f6ffdf, #c1ed8d 34%, #66b8b6 70%, transparent 74%);
  filter: drop-shadow(0 0 47px rgba(132,216,166,.35));
  opacity: .94;
}
#eshraq-zid-home .esh-panel {
  position: absolute;
  width: 77%;
  height: 48%;
  left: 12%;
  top: 32%;
  border: 6px solid #a7c5db;
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(16.66% - 2px), rgba(175,224,255,.72) calc(16.66% - 2px), rgba(175,224,255,.72) 16.66%),
    repeating-linear-gradient(0deg, transparent 0, transparent calc(25% - 2px), rgba(175,224,255,.68) calc(25% - 2px), rgba(175,224,255,.68) 25%),
    linear-gradient(135deg, #1e69a6, #092e65 70%);
  box-shadow: 0 30px 38px rgba(0,0,0,.3), inset 0 0 24px rgba(255,255,255,.12);
  transform: perspective(750px) rotateX(15deg) rotateY(-16deg) rotateZ(-9deg);
}
#eshraq-zid-home .esh-panel-back {
  left: 17%; top: 23%; opacity: .35;
  transform: perspective(750px) rotateX(15deg) rotateY(-16deg) rotateZ(-9deg) translate(25px,-25px);
}
#eshraq-zid-home .esh-float-note {
  position: absolute;
  bottom: 5%; right: 2%;
  padding: 13px 17px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
#eshraq-zid-home[dir="ltr"] .esh-float-note { right: auto; left: 2%; }

/* Trust strip */
#eshraq-zid-home .esh-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}
#eshraq-zid-home .esh-trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 17px 20px;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
  font-size: 15px;
}
#eshraq-zid-home .esh-trust-item b { color: #1b6d79; font-size: 24px; line-height: 1; }

/* Product categories */
#eshraq-zid-home .esh-section-head { margin: 53px 0 23px; }
#eshraq-zid-home .esh-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 800; color: #267b70; }
#eshraq-zid-home .esh-section-head h2 { margin: 0 0 8px; font-size: clamp(26px,2.5vw,35px); font-weight: 800; color: #09264b; }
#eshraq-zid-home .esh-section-head p:last-child { color: var(--esh-muted); margin: 0; font-size: 16px; }
#eshraq-zid-home .esh-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
#eshraq-zid-home .esh-category {
  position: relative;
  min-height: 166px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  padding: 23px;
  background: #fff;
  border: 1px solid #e4eaf1;
  border-radius: 18px;
  color: #102744;
  box-shadow: 0 8px 22px rgba(7,34,78,.035);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
#eshraq-zid-home .esh-category::after {
  content: '';
  position: absolute; bottom: -50px; left: -40px;
  width: 155px; height: 155px; border-radius: 50%;
  background: radial-gradient(circle,rgba(167,224,110,.18),transparent 70%);
  pointer-events: none;
}
#eshraq-zid-home .esh-category:hover { border-color: #a4ccbb; transform: translateY(-4px); box-shadow: 0 17px 32px rgba(7,34,78,.09); }
#eshraq-zid-home .esh-cat-num { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; border-radius: 11px; background: #eaf4ef; color: #17626b; font-size: 13px; font-weight: 800; }
#eshraq-zid-home .esh-cat-title { font-size: 20px; font-weight: 800; color: #09264b; }
#eshraq-zid-home .esh-cat-text { display: block; margin-top: 2px; font-size: 13px; color: var(--esh-muted); }
#eshraq-zid-home .esh-cat-link { font-size: 13px; font-weight: 800; color: #176b78; }

/* Closing CTA */
#eshraq-zid-home .esh-business {
  display: flex; align-items: center; justify-content: space-between; gap: 25px;
  margin-top: 25px;
  padding: 30px clamp(25px,4vw,48px);
  border-radius: 19px;
  background: linear-gradient(110deg,#e8f3f1,#eaf0f9);
  border: 1px solid #d8e7e7;
}
#eshraq-zid-home .esh-business h2 { margin: 0 0 6px; font-weight: 800; font-size: clamp(21px,2.2vw,27px); color: #09264b; }
#eshraq-zid-home .esh-business p { margin: 0; color: #52677d; font-size: 15px; }
#eshraq-zid-home .esh-btn-dark { background: #092e5e; color: #fff; white-space: nowrap; }
#eshraq-zid-home .esh-btn-dark:hover { background: #13508a; color: #fff; }

@media (max-width: 940px) {
  #eshraq-zid-home .esh-hero { grid-template-columns: 1fr .7fr; min-height: 440px; }
  #eshraq-zid-home .esh-hero-art { height: 300px; }
  #eshraq-zid-home .esh-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  #eshraq-zid-home { padding: 12px 12px 44px; }
  #eshraq-zid-home .esh-hero { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 33px 23px 11px; border-radius: 18px; }
  #eshraq-zid-home .esh-hero h1 { font-size: 32px; }
  #eshraq-zid-home .esh-hero-copy { font-size: 15px; }
  #eshraq-zid-home .esh-actions { margin-top: 22px; }
  #eshraq-zid-home .esh-btn { font-size: 14px; padding: 11px 16px; min-height: 45px; }
  #eshraq-zid-home .esh-hero-art { height: 215px; width: 100%; }
  #eshraq-zid-home .esh-sun { width: 170px; }
  #eshraq-zid-home .esh-panel { width: 65%; height: 55%; top: 31%; left: 19%; }
  #eshraq-zid-home .esh-float-note { font-size: 11px; padding: 8px 11px; }
  #eshraq-zid-home .esh-trust { grid-template-columns: 1fr; gap: 8px; }
  #eshraq-zid-home .esh-trust-item { padding: 11px 16px; font-size: 14px; }
  #eshraq-zid-home .esh-section-head { margin-top: 34px; }
  #eshraq-zid-home .esh-categories { grid-template-columns: 1fr 1fr; gap: 9px; }
  #eshraq-zid-home .esh-category { min-height: 159px; padding: 15px; }
  #eshraq-zid-home .esh-cat-title { font-size: 17px; }
  #eshraq-zid-home .esh-cat-text { font-size: 12px; }
  #eshraq-zid-home .esh-business { align-items: stretch; flex-direction: column; padding: 24px; }
}
@media (max-width: 370px) {
  #eshraq-zid-home .esh-categories { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  #eshraq-zid-home .esh-btn,
  #eshraq-zid-home .esh-category { transition: none; }
}