/* AFGHANZONE_PUBLIC_LANGUAGE_WHATSAPP_FOOTER_V1_0_0
   Additive public-home-only UI layer.
   No backend, database, settings-save, language-engine, address-engine,
   auth, sidebar, capital, or platform-isolation code is modified.
*/

/* Respect the HTML hidden contract inside the footer.
   Existing footer anchor rules use display:block and otherwise override
   the browser's built-in [hidden] behavior. */
body.az-home-v2 .market-footer [hidden] {
    display: none !important;
}

/* Active language label lives inside the already-working single proxy button. */
body.az-home-v2 #open-language-menu [data-az-active-language-label] {
    display: inline;
    margin-inline-start: 4px;
    white-space: nowrap;
}

/* Settings/MySQL purchasing WhatsApp entry in desktop public navigation. */
body.az-home-v2 #desktop-navigation .az-purchasing-whatsapp-nav {
    white-space: nowrap;
}

/* No custom color here: this dynamic link intentionally inherits the
   existing #desktop-navigation anchor/icon/hover palette so it looks
   exactly like its neighboring public navigation items. */

/* Settings/MySQL purchasing WhatsApp entry in the footer contact column. */
body.az-home-v2 .footer-grid > div:not(:first-child) .az-purchasing-whatsapp-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 2px 0 10px;
    color: #86efac;
    text-decoration: none;
}

body.az-home-v2 .az-purchasing-whatsapp-footer i {
    color: #22c55e;
    font-size: 12px;
}

body.az-home-v2 .az-purchasing-whatsapp-footer span {
    font-weight: 800;
}

body.az-home-v2 .az-purchasing-whatsapp-footer b {
    direction: ltr;
    unicode-bidi: isolate;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

body.az-home-v2 .az-purchasing-whatsapp-footer:hover,
body.az-home-v2 .az-purchasing-whatsapp-footer:hover b {
    color: #bbf7d0 !important;
}

@media (max-width: 1120px) and (min-width: 901px) {
    body.az-home-v2 #desktop-navigation .az-purchasing-whatsapp-nav {
        padding-inline: 8px;
        font-size: 10px;
    }
}
