/* gp-nav-fix-v6 — loads LAST. Modern SVG icons + clean pills for header phones.
   v6: the pill row now WRAPS on narrow screens — 3 pills exceeded one line on
   real phones (wider font metrics) and the centered nowrap row clipped both
   edges. Also slightly tighter pills <=460px.
   Self-contained: fully replaces v5. */
@media(max-width: 812px) {
    html .header-bot .header > ul {
        flex-wrap: wrap !important;
        justify-content: center !important;
        row-gap: 6px !important;
        column-gap: 6px !important;
        max-width: 100% !important;
    }
    html .header-bot .header > ul li.tell a,
    html .header-bot .header > ul li a.gp-header-mobile-phone {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 5px 13px 5px 11px !important;
        border-radius: 999px !important;
        background: rgba(146, 10, 182, .07) !important;
        border: 1px solid rgba(146, 10, 182, .22) !important;
        font-size: 11px !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        transition: background .16s ease, border-color .16s ease;
    }
    html .header-bot .header > ul li.tell a:hover,
    html .header-bot .header > ul li a.gp-header-mobile-phone:hover {
        background: rgba(146, 10, 182, .14) !important;
        border-color: rgba(146, 10, 182, .45) !important;
    }
    /* tel: pills (landlines + mobile) -> purple phone icon */
    html .header-bot .header > ul li a[href^="tel:"]::before {
        content: "" !important;
        display: inline-block !important;
        width: 13px !important;
        height: 13px !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23920ab6' d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
    }
    /* wa.me pills (future-proof) -> green WhatsApp icon */
    html .header-bot .header > ul li a[href*="wa.me"]::before {
        content: "" !important;
        display: inline-block !important;
        width: 14px !important;
        height: 14px !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231ca35a' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.249-.595-.499-.501-.67-.51l-.484-.01c-.173 0-.446.075-.68.373-.233.297-.89.867-1.357 1.628-.467.762-.877 1.765-.877 2.968 0 1.203.877 2.365 1.001 2.522.124.149 1.711 2.614 4.145 3.668.579.25 1.032.399 1.385.511.582.185 1.11.159 1.528.096.469-.07 1.444-.59 1.648-1.162.198-.571.198-1.062.049-1.164-.124-.083-.297-.124-.495-.247-.425-.262-.7-.53-.874-.784z'/%3E%3Cpath fill='%231ca35a' d='M12.045 0C5.463 0 .104 5.334.101 11.893c0 2.096.549 4.14 1.595 5.945L0 24l6.335-1.652c1.746.938 3.71 1.432 5.71 1.432h.006c6.585 0 11.946-5.336 11.949-11.896A11.82 11.82 0 0 0 20.52 3.449C18.24 1.245 15.24 0 12.045 0m.006 21.393h-.005a9.9 9.9 0 0 1-5.03-1.378l-.36-.214-2.982.78.796-2.91-.235-.3a9.86 9.86 0 0 1-1.51-5.26c.002-5.45 4.437-9.884 9.888-9.884a9.82 9.82 0 0 1 6.988 2.9 9.82 9.82 0 0 1 2.892 6.995c-.003 5.45-4.437 9.885-9.884 9.885m5.464-12.393c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.249-.595-.499-.501-.67-.51l-.484-.01c-.173 0-.446.075-.68.373-.233.297-.89.867-1.357 1.628-.467.762-.877 1.765-.877 2.968 0 1.203.877 2.365 1.001 2.522.124.149 1.711 2.614 4.145 3.668.579.25 1.032.399 1.385.511.582.185 1.11.159 1.528.096.469-.07 1.444-.59 1.648-1.162.198-.571.198-1.062.049-1.164-.124-.083-.297-.124-.495-.247-.425-.262-.7-.53-.874-.784'/%3E%3C/svg%3E") center/contain no-repeat !important;
    }
    /* legacy glyph chips stay hidden (safety for stale cached HTML) */
    html body.gp-tajrish-body .gp-site-header .header-bot .header > ul li .gp-menu-glyph,
    html body.gp-tajrish-body .gp-site-header .header-bot .header > ul li a .gp-mobile-phone-glyph {
        display: none !important;
    }
}
/* extra-tight pills on very narrow phones so two fit per row */
@media(max-width: 460px) {
    html .header-bot .header > ul li.tell a,
    html .header-bot .header > ul li a.gp-header-mobile-phone {
        padding: 4px 10px !important;
        font-size: 10.5px !important;
        gap: 5px !important;
    }
    html .header-bot .header > ul li a[href^="tel:"]::before {
        width: 12px !important;
        height: 12px !important;
    }
}
