:root{
  --pgp-footer-brand:#5433eb;
  --pgp-footer-brand-dark:#4504bc;
  --pgp-footer-text:#111111;
  --pgp-footer-muted:rgba(0,0,0,.56);
  --pgp-footer-line:rgba(0,0,0,.10);
}
footer.pgp-global-footer,
.pgp-global-footer,
.pgp-global-footer *{
  box-sizing:border-box !important;
}
footer.pgp-global-footer.pgp-shop-footer{
  width:min(100% - 56px, 1180px) !important;
  margin:92px auto 124px !important;
  padding:0 !important;
  color:var(--pgp-footer-text) !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  font-family:var(--pgp-admin-font,'Inter','Tajawal',system-ui,-apple-system,'Segoe UI',Arial,sans-serif) !important;
  position:relative !important;
  z-index:2 !important;
  text-align:center !important;
}

/* خطين متقاربين لعزل الفوتر عن باقي الصفحة */
.pgp-footer-divider{
  width:100% !important;
  height:9px !important;
  margin:0 auto 44px !important;
  border-top:1px solid var(--pgp-footer-line) !important;
  border-bottom:1px solid var(--pgp-footer-line) !important;
  background:transparent !important;
  opacity:.95 !important;
}

.pgp-footer-inner{
  display:block !important;
  width:100% !important;
  margin:0 auto !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}

/* إلغاء كارت البراند القديم بالكامل حتى لو بقي موجود من كاش/ملف قديم */
.pgp-footer-brand,
.pgp-footer-logo-link,
.pgp-footer-logo,
.pgp-footer-about-text,
.pgp-footer-badges{
  display:none !important;
}

/* إلغاء أي بحث داخلي بالفوتر حتى لو كان موجود من نسخة قديمة */
.pgp-global-footer form,
.pgp-global-footer .pgp-footer-mini-search,
.pgp-global-footer .footer-search,
.pgp-global-footer .pgp-search,
.pgp-global-footer .search,
.pgp-global-footer .search-box,
.pgp-global-footer .search-form,
.pgp-global-footer [role="search"],
.pgp-global-footer input[type="search"],
.pgp-global-footer input[name*="search"],
.pgp-global-footer input[placeholder*="بحث"],
.pgp-global-footer input[placeholder*="قطع"],
.pgp-global-footer button[type="submit"]{
  display:none !important;
  visibility:hidden !important;
  width:0 !important;
  height:0 !important;
  max-width:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
  pointer-events:none !important;
}

.pgp-footer-nav{
  width:min(100%, 760px) !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(112px,1fr)) !important;
  gap:clamp(30px,5vw,70px) !important;
  align-items:start !important;
  justify-content:center !important;
  justify-items:center !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.pgp-footer-nav section,
footer.pgp-global-footer .pgp-footer-nav section{
  min-width:0 !important;
  width:100% !important;
  display:block !important;
  padding:0 !important;
  margin:0 !important;
  text-align:start !important;
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  color:#111 !important;
}
.pgp-footer-nav h3,
footer.pgp-global-footer .pgp-footer-nav h3{
  margin:0 0 17px !important;
  padding:0 !important;
  color:#111 !important;
  font-size:14px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:-.01em !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.pgp-footer-nav a,
footer.pgp-global-footer .pgp-footer-nav a{
  display:block !important;
  width:max-content !important;
  max-width:100% !important;
  margin:10px 0 0 !important;
  padding:0 !important;
  color:rgba(0,0,0,.58) !important;
  text-decoration:none !important;
  font-size:12.5px !important;
  line-height:1.45 !important;
  font-weight:700 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  transition:color .16s ease, transform .16s ease !important;
}
.pgp-footer-nav a:hover{
  color:var(--pgp-footer-brand) !important;
  transform:translateX(-2px) !important;
}

.pgp-footer-bottom{
  width:min(100%, 760px) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  margin:46px auto 0 !important;
  padding:0 !important;
  color:rgba(0,0,0,.46) !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  font-size:11px !important;
  line-height:1.5 !important;
  font-weight:650 !important;
}

@media(max-width:980px){
  footer.pgp-global-footer.pgp-shop-footer{
    width:calc(100% - 34px) !important;
    margin:64px auto 118px !important;
  }
  .pgp-footer-divider{
    margin-bottom:38px !important;
  }
  .pgp-footer-nav{
    width:min(100%, 680px) !important;
    gap:26px !important;
  }
}
@media(max-width:680px){
  footer.pgp-global-footer.pgp-shop-footer{
    width:calc(100% - 34px) !important;
    margin:52px auto 116px !important;
  }
  .pgp-footer-divider{
    height:8px !important;
    margin-bottom:34px !important;
  }
  .pgp-footer-nav{
    width:100% !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:34px 44px !important;
    justify-items:center !important;
  }
  .pgp-footer-nav section{
    text-align:start !important;
  }
  .pgp-footer-nav h3{
    font-size:19px !important;
    margin-bottom:15px !important;
  }
  .pgp-footer-nav a{
    font-size:15px !important;
    margin-top:12px !important;
    line-height:1.45 !important;
  }
  .pgp-footer-bottom{
    width:100% !important;
    display:block !important;
    text-align:center !important;
    margin-top:42px !important;
    font-size:13px !important;
  }
  .pgp-footer-bottom span{
    display:block !important;
    margin-top:8px !important;
  }
}
@media(max-width:380px){
  .pgp-footer-nav{
    gap:30px 30px !important;
  }
  .pgp-footer-nav h3{
    font-size:18px !important;
  }
  .pgp-footer-nav a{
    font-size:14px !important;
  }
}
