/* GounaFinds: contact buttons appear only with a configured business number. */
.gf-whatsapp-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;text-decoration:none;font:700 11px/1.4 'Montserrat',Arial,sans-serif;
  letter-spacing:.01em;color:#0c2337;background:#efe3d4;
  border:1px solid #c5ad91;border-radius:3px;padding:11px 16px;
}
.gf-whatsapp-link:hover{background:#f8eee3;border-color:#ab8d70}
.gf-whatsapp-link:focus-visible{outline:3px solid #ec751f;outline-offset:3px}
.gf-whatsapp-float{position:fixed;z-index:30;bottom:20px;inset-inline-end:20px}
.gf-whatsapp-float .gf-whatsapp-link{box-shadow:0 8px 22px #0c23371d;background:#0c2337;color:#fffaf4}
.gf-whatsapp-form-hint{font:500 11px/1.65 'Montserrat',Arial,sans-serif;color:#566771;margin:8px 0 0}
@media(max-width:750px){
  .gf-whatsapp-float{bottom:calc(14px + env(safe-area-inset-bottom));inset-inline-end:13px}
  .gf-whatsapp-float .gf-whatsapp-link{min-height:42px;padding:10px 12px;font-size:10px}
}


/* Branded green chat/phone cue plus a visible label. The accessible name
   remains the actual button text; icons are strictly decorative. */
.gf-whatsapp-link{
  gap:10px;
  border-radius:8px;
}
.gf-whatsapp-link::before,
.inquiry-submit.is-whatsapp::before {
  content:"";
  display:inline-block;
  flex:0 0 21px;
  width:21px;
  height:21px;
  background:url('/whatsapp-chat-icon.svg') center/contain no-repeat;
}
.inquiry-submit.is-whatsapp{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:8px;
}
.gf-whatsapp-float .gf-whatsapp-link{
  min-height:46px;
  border-radius:9px;
  gap:7px;
  white-space:nowrap;
}
@media(max-width:750px){
  .gf-whatsapp-float .gf-whatsapp-link{min-height:48px;padding:12px 15px;font-size:12px}
}

/* The contact control follows the language's reading direction. */
html[dir="rtl"] .gf-whatsapp-float{
  right:auto!important;
  left:20px!important;
}
html[dir="rtl"] .gf-whatsapp-float .gf-whatsapp-fab-tip{
  right:auto;
  left:calc(100% + 12px);
  transform:translate(-5px,-50%);
}
html[dir="rtl"] .gf-whatsapp-float .gf-whatsapp-fab:hover .gf-whatsapp-fab-tip,
html[dir="rtl"] .gf-whatsapp-float .gf-whatsapp-fab:focus-visible .gf-whatsapp-fab-tip{
  transform:translate(0,-50%);
}
@media(max-width:750px){
  html[dir="rtl"] .gf-whatsapp-float{
    right:auto!important;
    left:calc(16px + env(safe-area-inset-left,0px))!important;
  }
}

/* Same compact icon treatment on guides and Today's page. */
.gf-whatsapp-float .gf-whatsapp-fab.gf-whatsapp-link{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  min-width:56px;
  min-height:56px;
  padding:0!important;
  border:1px solid rgba(255,255,255,.28)!important;
  border-radius:50%!important;
  background:#119b50!important;
  box-shadow:0 5px 22px rgba(12,35,55,.2);
  color:white!important;
  transition:background-color .2s ease,transform .2s ease;
}
.gf-whatsapp-float .gf-whatsapp-fab.gf-whatsapp-link::before{content:none!important;display:none!important}
.gf-whatsapp-float .gf-whatsapp-fab>img{width:31px;height:31px;object-fit:contain}
.gf-whatsapp-float .gf-whatsapp-fab:hover{background:#0b8441!important;transform:translateY(-2px)}
.gf-whatsapp-float .gf-whatsapp-fab:focus-visible{outline:3px solid #0c2337;outline-offset:4px}
.gf-whatsapp-float .gf-whatsapp-fab-tip{
  position:absolute;
  right:calc(100% + 12px);
  top:50%;
  transform:translate(5px,-50%);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  white-space:nowrap;
  background:#0c2337;
  color:#fffaf4;
  font:600 11px/1.4 'Montserrat',Arial,sans-serif;
  padding:8px 12px;
  border-radius:5px;
  transition:opacity .2s ease,transform .2s ease;
}
.gf-whatsapp-float .gf-whatsapp-fab:hover .gf-whatsapp-fab-tip,
.gf-whatsapp-float .gf-whatsapp-fab:focus-visible .gf-whatsapp-fab-tip{
  opacity:1;visibility:visible;transform:translate(0,-50%);
}
@media(max-width:750px){
  .gf-whatsapp-float .gf-whatsapp-fab.gf-whatsapp-link{width:54px;min-width:54px;height:54px;min-height:54px;padding:0!important}
  .gf-whatsapp-float .gf-whatsapp-fab-tip{display:none}
}
@media(prefers-reduced-motion:reduce){
  .gf-whatsapp-float .gf-whatsapp-fab.gf-whatsapp-link{transition:none!important}
  .gf-whatsapp-float .gf-whatsapp-fab:hover{transform:none!important}
}

/* Physical pinning avoids logical-inset conflicts across page direction and stylesheets. */
html[lang="en"] .gf-whatsapp-float{left:auto!important;right:clamp(16px,2vw,28px)!important}
html[lang="ar"] .gf-whatsapp-float{right:auto!important;left:clamp(16px,2vw,28px)!important}
@media(max-width:767px){
 html[lang="en"] .gf-whatsapp-float{left:auto!important;right:calc(16px + env(safe-area-inset-right,0px))!important}
 html[lang="ar"] .gf-whatsapp-float{right:auto!important;left:calc(16px + env(safe-area-inset-left,0px))!important}
}
