/* V6 targeted footer + floating WhatsApp correction. Design consistent across all templates and both languages. */
body.alrajhi-v2 > footer.alrajhi-site-footer {
  position:relative; display:block; clear:both; background:#EFE8DA; color:#4B5B64;
  border-top:1px solid #E7DFD0; font-size:15px; line-height:1.7; padding:0;
}
body.alrajhi-v2 > footer.alrajhi-site-footer .fgrid {
  width:100%; max-width:1080px; margin-inline:auto; padding:46px 20px 32px;
  display:grid; grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr)) minmax(0,1.3fr);
  align-items:start; column-gap:32px; row-gap:30px;
}
body.alrajhi-v2 > footer.alrajhi-site-footer .fgrid > div {min-width:0;text-align:start}
body.alrajhi-v2 > footer.alrajhi-site-footer .logo {
  display:inline-block; margin:0 0 12px; font-size:20px; line-height:1.5;
  color:#14232D; text-decoration:none;
}
body.alrajhi-v2 > footer.alrajhi-site-footer .logo b {color:#D9741A}
body.alrajhi-v2 > footer.alrajhi-site-footer p {margin:0;color:#506470;line-height:1.8;font-size:15px}
body.alrajhi-v2 > footer.alrajhi-site-footer h3 {
  font-family:'Reem Kufi',Tajawal,Tahoma,sans-serif; margin:0 0 14px;
  font-size:18px; font-weight:700; line-height:1.5; color:#14232D; text-align:start;
}
body.alrajhi-v2 > footer.alrajhi-site-footer ul {
  list-style:none; padding:0; margin:0; display:grid; gap:9px;
}
body.alrajhi-v2 > footer.alrajhi-site-footer li {margin:0;padding:0;color:#506470;line-height:1.7}
body.alrajhi-v2 > footer.alrajhi-site-footer a:not(.logo) {
  color:#435762; text-decoration:none; font-size:15px;
}
body.alrajhi-v2 > footer.alrajhi-site-footer a:not(.logo):hover,
body.alrajhi-v2 > footer.alrajhi-site-footer a:not(.logo):focus-visible {color:#B65B10}
body.alrajhi-v2 > footer.alrajhi-site-footer .footer-lang-block {
  display:flex; justify-content:flex-end; padding-block:12px 20px;
}
body.alrajhi-v2 > footer.alrajhi-site-footer .footer-langs {
  display:flex; align-items:center; gap:10px; margin:0; padding:0;
}
body.alrajhi-v2 > footer.alrajhi-site-footer .fbar {
  background:transparent; color:#506470; border-top:1px solid #D9D0C0;
  padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px));
  text-align:center; font-size:14px;
}
body.alrajhi-v2 > a.alrajhi-whatsapp-float {
  position:fixed; inset-inline-start:16px; inset-inline-end:auto;
  bottom:calc(16px + env(safe-area-inset-bottom,0px)); z-index:9999;
  width:58px; height:58px; min-width:58px; min-height:58px;
  display:flex; align-items:center; justify-content:center; flex:none;
  padding:0; margin:0; border:0; border-radius:50%;
  background:#1FA855; color:#fff; text-decoration:none;
  box-shadow:0 6px 18px rgba(0,0,0,.22); box-sizing:border-box;
  transition:transform .2s ease,box-shadow .2s ease;
}
body.alrajhi-v2 > a.alrajhi-whatsapp-float svg {
  display:block; width:30px!important; height:30px!important;
  max-width:30px!important; max-height:30px!important;
  min-width:30px; min-height:30px; flex:none;
  fill:#fff; stroke:none; overflow:visible;
}
body.alrajhi-v2 > a.alrajhi-whatsapp-float:hover {transform:translateY(-3px);box-shadow:0 9px 22px rgba(0,0,0,.23)}
body.alrajhi-v2 > a.alrajhi-whatsapp-float:focus-visible {outline:3px solid #10222E;outline-offset:4px}
@media(max-width:820px){body.alrajhi-v2 > footer.alrajhi-site-footer .fgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px} }
@media(max-width:520px){
 body.alrajhi-v2 > footer.alrajhi-site-footer .fgrid{grid-template-columns:minmax(0,1fr);gap:24px;padding:34px 20px 24px}
 body.alrajhi-v2 > footer.alrajhi-site-footer .footer-lang-block{justify-content:center}
 body.alrajhi-v2 > a.alrajhi-whatsapp-float{width:54px;height:54px;min-width:54px;min-height:54px;inset-inline-start:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){body.alrajhi-v2 > a.alrajhi-whatsapp-float{transition:none}}
html[dir="ltr"] body.alrajhi-v2 > footer.alrajhi-site-footer h3{font-family:Poppins,Inter,Arial,sans-serif}
