/* =========================================================
   Cairo Prime — Mobile sticky bottom-nav (visible only on mobile)
   ========================================================= */
.cp-mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .cp-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(201, 162, 39, 0.25);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
    z-index: 140;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: stretch;
  }
  .cp-mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    color: #8a8070;
    text-decoration: none;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 200ms ease;
  }
  .cp-mobile-nav a:hover,
  .cp-mobile-nav a.is-active {
    color: #C9A227;
    background: rgba(201, 162, 39, 0.08);
  }
  .cp-mobile-nav a.cp-wa {
    color: #25D366;
  }
  .cp-mobile-nav a.cp-wa:hover {
    color: #fff;
    background: linear-gradient(135deg, #1bb955, #25D366);
  }
  .cp-mobile-nav .icon {
    font-size: 1.3rem;
    line-height: 1;
  }
  .cp-mobile-nav svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }
  /* Add bottom-padding to body so content not hidden under nav */
  body {
    padding-bottom: 72px;
  }
  /* Hide existing wa-fab on mobile (replaced by bottom-nav WA button) */
  .wa-fab {
    display: none !important;
  }
}
