/* ===================== GRAVIX FASHION — Business WhatsApp contact ===================== */

/* ---------- 1. Floating WhatsApp button (sitewide) ---------- */
.gravix-floating-whatsapp{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9990;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gravix-floating-whatsapp svg{
  width: 28px;
  height: 28px;
  color: #fff;
}
.gravix-floating-whatsapp:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}
.gravix-floating-whatsapp:active{
  transform: scale(0.94);
}

/* On mobile, sit above the bottom nav bar (which occupies ~78px + safe-area)
   so it never overlaps it or any sticky Add to Cart / Checkout buttons. */
@media (max-width: 768px){
  .gravix-floating-whatsapp{
    right: 16px;
    bottom: calc(78px + env(safe-area-inset-bottom) + 16px);
    width: 50px;
    height: 50px;
  }
  .gravix-floating-whatsapp svg{ width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce){
  .gravix-floating-whatsapp{ transition: none; }
}

/* ---------- 2. Header / announcement bar WhatsApp link ---------- */
.gx-ann-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(0,0,0,0.15);
  color: #1E8E5A;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.15s ease;
}
.gx-ann-whatsapp:hover{ opacity: 0.75; }
.gx-ann-whatsapp svg{ flex-shrink: 0; }

@media (max-width: 767px){
  /* Matches the existing pattern: sub-text collapses on mobile to keep
     the announcement bar compact. Show just the icon + "WhatsApp", not
     the full number, per the requirement. */
  .gx-ann-whatsapp-text{ display: none; }
  .gx-ann-whatsapp::after{
    content: 'WhatsApp';
    font-size: 10px;
  }
  .gx-ann-whatsapp{ margin-left: 6px; padding-left: 6px; }
}

/* ---------- 3. Footer Business WhatsApp item ---------- */
.gx-footer-whatsapp-item{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gx-footer-whatsapp-label{
  font-family: var(--gx-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gx-accent, #B08D57);
}
.gx-footer-whatsapp-item > a{
  font-weight: 700;
}
.gx-footer-whatsapp-cta{
  font-size: 12px;
  color: #999;
}

/* ---------- 4. Contact Us page: Personal Contact vs Business WhatsApp ---------- */
.gx-contact-numbers-block h2{ margin-bottom: 20px; }
.gx-contact-number-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.gx-contact-number-item{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gx-contact-number-label{
  font-family: var(--gx-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}
.gx-contact-number-value{
  font-family: var(--gx-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--gx-ink, #1A1A1A);
  text-decoration: none;
}
.gx-contact-number-value:hover{ color: var(--gx-accent, #B08D57); }
.gx-contact-whatsapp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 12px 20px;
  background: #25D366;
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--gx-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.18s ease;
  width: fit-content;
}
.gx-contact-whatsapp-btn:hover{ background: #1EBE57; }

@media (max-width: 600px){
  .gx-contact-number-row{ grid-template-columns: 1fr; gap: 20px; }
}


/* ---------- Contact Us page: Business WhatsApp only (no Personal Contact shown here) ---------- */
.gx-contact-whatsapp-only{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.gx-contact-whatsapp-only .gx-contact-whatsapp-btn{
  margin-top: 6px;
  width: fit-content;
}