/* V51: Restore desktop quick-contact rail regardless of page templates. */
@media (min-width: 761px) {
  html body .hz-callbar {
    position:fixed !important;
    top:auto !important; left:auto !important; right:18px !important; bottom:18px !important;
    width:148px !important; max-width:calc(100vw - 36px) !important;
    height:auto !important; margin:0 !important; padding:0 !important;
    display:flex !important; flex-direction:column !important; align-items:stretch !important;
    gap:8px !important; z-index:2147483000 !important;
    transform:none !important; background:transparent !important; border:0 !important;
  }
  html body .hz-callbar > a {
    box-sizing:border-box !important; display:flex !important; align-items:center !important;
    justify-content:flex-start !important; gap:9px !important;
    width:100% !important; min-width:0 !important; max-width:100% !important;
    min-height:48px !important; padding:8px 10px !important;
    border:1px solid #ad8526 !important; border-radius:10px !important;
    background:#111 !important; background-image:none !important;
    color:#fff !important; -webkit-text-fill-color:#fff !important;
    font-weight:750 !important; font-size:14px !important;
    text-decoration:none !important; opacity:1 !important; visibility:visible !important;
  }
  html body .hz-callbar > a span:last-child { color:#fff !important; -webkit-text-fill-color:#fff !important; }
  html body .hz-callbar .hz-callbar__icon { flex:0 0 26px !important; width:26px !important; height:28px !important; }
  html body .hz-callbar .hz-callbar__icon img { display:block !important; max-width:26px !important; max-height:26px !important; object-fit:contain !important; }
  html body .hz-callbar > button.hz-callbar__toggle {display:none !important;}
}
/* Product contact buttons: readable text over dark backgrounds. */
html body a[href*="wa.me"], html body a[href*="api.whatsapp.com"] {
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
html body a[href*="wa.me"]:is(:hover,:focus-visible),
html body a[href*="api.whatsapp.com"]:is(:hover,:focus-visible) {
  color:#f7d778 !important; -webkit-text-fill-color:#f7d778 !important;
}
html body a[href*="wa.me"] *, html body a[href*="api.whatsapp.com"] * {
  color:inherit !important; -webkit-text-fill-color:inherit !important;
}
/* Preserve original mobile dock: no desktop floating rail on mobile. */
@media(max-width:760px){html body .hz-callbar{display:none !important}}

/* V52: product WhatsApp button: fix black-on-black text caused by .hz-btn-outline rules. */
html body .hz-app.hz-product-detail .hz-detail-info .hz-detail-actions a.hz-btn.hz-btn-outline[href*="wa.me"],
html body .hz-app.hz-product-detail .hz-detail-info .hz-detail-actions a.hz-btn.hz-btn-outline[href*="whatsapp"] {
  background:#101010 !important;
  background-image:none !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  border:2px solid #cba73b !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
  font-weight:800 !important;
  text-align:center !important;
}
html body .hz-app.hz-product-detail .hz-detail-info .hz-detail-actions a.hz-btn.hz-btn-outline[href*="wa.me"]:hover,
html body .hz-app.hz-product-detail .hz-detail-info .hz-detail-actions a.hz-btn.hz-btn-outline[href*="whatsapp"]:hover {
  background:#242014 !important;
  color:#ffe08b !important;
  -webkit-text-fill-color:#ffe08b !important;
}
