/* Eskişehir Akü Getir v14 - fixed mobile Ara / WhatsApp bar. */
:root{--eag-mobile-contact-height:70px}
.eag-mobile-contact-bar{display:none}
@media(max-width:767px){
  body.eag-has-mobile-contact-bar{
    padding-bottom:calc(var(--eag-mobile-contact-height) + env(safe-area-inset-bottom, 0px));
  }
  .eag-mobile-contact-bar{
    position:fixed;inset:auto 0 0 0;
    z-index:9000;
    display:flex;align-items:center;gap:10px;
    height:calc(var(--eag-mobile-contact-height) + env(safe-area-inset-bottom, 0px));
    padding:9px max(12px, env(safe-area-inset-right, 0px)) calc(9px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    box-sizing:border-box;
    background:#fff;border-top:1px solid #dbe7ee;
    box-shadow:0 -5px 22px rgba(8,44,76,.09);
  }
  .eag-mobile-contact-link{
    flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:10px;
    height:50px;padding:9px 10px;border-radius:11px;
    font-size:14px;line-height:1.2;font-weight:750;
    text-align:center;text-decoration:none;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }
  .eag-mobile-contact-link svg,.eag-mobile-contact-link .fa{flex-shrink:0;font-size:20px}
  .eag-mobile-contact-call{color:#fff;background:var(--navy,#082c4c)}
  .eag-mobile-contact-whatsapp{color:#fff;background:var(--green,#08b63f)}
  .eag-mobile-contact-link:focus-visible{outline:3px solid #82c9e9;outline-offset:2px}
  /* The floating WhatsApp button is replaced by the fixed two-action menu. */
  body.eag-has-mobile-contact-bar .floating-wa{display:none!important}
  /* Keep the back-to-top control clear of the bottom menu. */
  .eag-back-to-top{bottom:calc(var(--eag-mobile-contact-height) + env(safe-area-inset-bottom, 0px) + 16px)!important}
  /* Match the requested order: cookie dialog immediately above fixed menu. */
  body.eag-has-mobile-contact-bar .eag-consent:not([hidden]){
    position:fixed!important;
    left:50%!important;right:auto!important;
    bottom:calc(var(--eag-mobile-contact-height) + env(safe-area-inset-bottom, 0px) + 10px)!important;
    transform:translateX(-50%)!important;
    top:auto!important;
    width:min(calc(100vw - 24px), 360px)!important;
    max-width:360px!important;
    max-height:calc(100vh - var(--eag-mobile-contact-height) - env(safe-area-inset-bottom, 0px) - 30px)!important;
    max-height:calc(100dvh - var(--eag-mobile-contact-height) - env(safe-area-inset-bottom, 0px) - 30px)!important;
    overflow-y:auto;overscroll-behavior:contain;
    padding:12px 13px!important;gap:9px!important;
    flex-direction:column;align-items:stretch!important;
    border-radius:14px;
    z-index:2147483647!important;
  }
  body.eag-has-mobile-contact-bar .eag-consent .consent-actions{
    width:100%;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
  }
  body.eag-has-mobile-contact-bar .eag-consent .consent-actions .btn{
    min-width:0;min-height:38px;font-size:12px;
  }
  body.popup-open .eag-mobile-contact-bar,
  body.drawer-open .eag-mobile-contact-bar,
  body.spec-open .eag-mobile-contact-bar{
    visibility:hidden;pointer-events:none;
  }
}
@media(max-width:359px){
 .eag-mobile-contact-bar{gap:7px;padding-left:9px;padding-right:9px}
 .eag-mobile-contact-link{font-size:13px;gap:6px}
}
