/* =========================================
   GENERIC MOBILE STICKY ACTION BAR
   ========================================= */

.hc-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  border-top: 1px solid rgba(0,0,0,0.05);
  
  /* Grid met gelijke kolommen */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  
  padding: 8px 6px; 
  /* Safe area voor iPhone X en nieuwer */
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  
  gap: 8px;
  
  /* Z-index hoog, maar LAGER dan Lightbox (vaak 999999). 
     Was eerst max-int, dat veroorzaakte het conflict. */
  z-index: 99990; 
  
  display: none; /* Hidden on desktop by default */
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
}

.hc-mob-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  text-decoration: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #333 !important;
  padding: 8px 4px !important;
  border-radius: 8px !important;
  background: #f7f7f7;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2 !important;
  border: 0 !important;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.hc-mob-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

/* Kleuraccenten */
.hc-mob-btn.is-whatsapp { color: #25D366 !important; background: #e8fdf0 !important; }
.hc-mob-btn.is-call { color: #f68b1f !important; background: #fff4e5 !important; }
.hc-mob-btn.is-trade { color: #111 !important; background: #f0f0f0 !important; }
.hc-mob-btn.is-route { color: #4285F4 !important; background: #e8f0fe !important; }
.hc-mob-btn.is-email { color: #555 !important; background: #f3f3f3 !important; }

.hc-mob-btn:active { transform: scale(0.96); background: #eee !important; }

/* Alleen tonen onder 768px en forceer visibility */
@media (max-width: 768px) {
  .hc-mobile-bar { 
      display: grid !important; 
      visibility: visible !important;
      opacity: 1 !important;
  }
}