/* ──────────────────────────────────────────────────
   Styles for the public (no-login) pages
   shared by services.html / shop.html / contact.html
   ────────────────────────────────────────────────── */

.nav-link.is-active {
  color: var(--ink);
  position: relative;
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Cart badge (copied from index.html inline style, now shared) */
.nav-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--gold);
  border-radius: 9px;
  margin-left: -6px;
  vertical-align: top;
}
#nav-cart { position: relative; }
#nav-cart[data-count="0"] .nav-cart-badge { display: none; }
.product-card { transition: transform .15s ease; }
.product-card:hover { transform: translateY(-2px); }

/* Floating WhatsApp FAB — shared */
#hm-whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  padding: 14px 22px 14px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform .2s ease, box-shadow .2s ease;
  z-index: 99;
}
#hm-whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #fff;
}
#hm-whatsapp-fab svg { flex-shrink: 0; }
@media (max-width: 640px) {
  #hm-whatsapp-fab {
    bottom: 16px;
    right: 16px;
    padding: 12px 14px;
  }
  #hm-whatsapp-fab .hm-whatsapp-label { display: none; }
}

/* Contact page: responsive layout */
@media (max-width: 768px) {
  section.section > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
