.tf-wrc{position:relative;display:inline-block;font:inherit}
.tf-wrc>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;border:1px solid #dee3ec;border-radius:10px;padding:9px 14px;font-weight:650;font-size:.9rem;color:inherit;background:#fff}
.tf-wrc>summary::-webkit-details-marker{display:none}
.tf-wrc>summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.tf-wrc[open]>summary{border-color:#1a2b5d}
.tf-wrc>nav{display:block;margin:0;position:absolute;right:0;top:calc(100% + 8px);width:290px;max-height:70vh;overflow:auto;background:#fff;border:1px solid #dee3ec;border-radius:14px;box-shadow:0 24px 60px rgba(14,26,43,.18);padding:10px;z-index:80}
.tf-wrc>nav>p{margin:0;padding:6px 10px 8px;font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5b6372}
.tf-wrc>nav>a{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;color:#1b263b;text-decoration:none}
.tf-wrc>nav>a:hover,.tf-wrc>nav>a[aria-current]{background:#f4f6fa}
.tf-wrc>nav>a>b{min-width:40px;height:32px;padding:0 6px;display:grid;place-items:center;background:#f4f6fa;border-radius:8px;color:#1a2b5d;font-size:.9rem}
.tf-wrc>nav>a[aria-current]>b{background:#1a2b5d;color:#fff}
.tf-wrc>nav strong{display:block;font-size:.95rem}
.tf-wrc>nav small{color:#5b6372;font-size:.82rem}
/* Closed menus take no space; on small screens the menu opens as a sheet that always fits the screen. */
.tf-wrc:not([open])>nav{display:none}
@media (max-width:700px){.tf-wrc>nav{position:fixed;left:12px;right:12px;top:auto;bottom:12px;width:auto;max-height:70vh}}
/* flags */
.tf-wrc>nav>a>b{background-size:cover;background-position:center}
.tf-wrc>nav>a[data-currency="ZAR"]>b,.tf-wrc>summary[data-currency="ZAR"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%23fff%22 d=%22M0 0h30v20H0z%22/%3E%3Cpath fill=%22%23de3831%22 d=%22M0 0h30v6.7H13L5 0z%22/%3E%3Cpath fill=%22%23002395%22 d=%22M0 20h30v-6.7H13L5 20z%22/%3E%3Cpath fill=%22%23007a4d%22 d=%22M0 2.5 7.5 8.5H30v3H7.5L0 17.5v-4L4.5 10 0 6.5z%22/%3E%3Cpath fill=%22%23000%22 d=%22M0 5.5 5.5 10 0 14.5z%22/%3E%3Cpath fill=%22none%22 stroke=%22%23ffb612%22 stroke-width=%221.2%22 d=%22M0 5 6 10 0 15%22/%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="ZAR"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="GBP"]>b,.tf-wrc>summary[data-currency="GBP"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%23012169%22 d=%22M0 0h30v20H0z%22/%3E%3Cpath stroke=%22%23fff%22 stroke-width=%224%22 d=%22m0 0 30 20M30 0 0 20%22/%3E%3Cpath stroke=%22%23c8102e%22 stroke-width=%221.6%22 d=%22m0 0 30 20M30 0 0 20%22/%3E%3Cpath stroke=%22%23fff%22 stroke-width=%226.6%22 d=%22M15 0v20M0 10h30%22/%3E%3Cpath stroke=%22%23c8102e%22 stroke-width=%224%22 d=%22M15 0v20M0 10h30%22/%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="GBP"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="USD"]>b,.tf-wrc>summary[data-currency="USD"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%23fff%22 d=%22M0 0h30v20H0z%22/%3E%3Cpath stroke=%22%23b22234%22 stroke-width=%221.54%22 d=%22M0 .77h30M0 3.85h30M0 6.92h30M0 10h30M0 13.08h30M0 16.15h30M0 19.23h30%22/%3E%3Cpath fill=%22%233c3b6e%22 d=%22M0 0h13v10.8H0z%22/%3E%3Cg fill=%22%23fff%22%3E%3Ccircle cx=%222.2%22 cy=%222%22 r=%22.6%22/%3E%3Ccircle cx=%225.2%22 cy=%222%22 r=%22.6%22/%3E%3Ccircle cx=%228.2%22 cy=%222%22 r=%22.6%22/%3E%3Ccircle cx=%2211%22 cy=%222%22 r=%22.6%22/%3E%3Ccircle cx=%223.7%22 cy=%224.2%22 r=%22.6%22/%3E%3Ccircle cx=%226.7%22 cy=%224.2%22 r=%22.6%22/%3E%3Ccircle cx=%229.7%22 cy=%224.2%22 r=%22.6%22/%3E%3Ccircle cx=%222.2%22 cy=%226.4%22 r=%22.6%22/%3E%3Ccircle cx=%225.2%22 cy=%226.4%22 r=%22.6%22/%3E%3Ccircle cx=%228.2%22 cy=%226.4%22 r=%22.6%22/%3E%3Ccircle cx=%2211%22 cy=%226.4%22 r=%22.6%22/%3E%3Ccircle cx=%223.7%22 cy=%228.6%22 r=%22.6%22/%3E%3Ccircle cx=%226.7%22 cy=%228.6%22 r=%22.6%22/%3E%3Ccircle cx=%229.7%22 cy=%228.6%22 r=%22.6%22/%3E%3C/g%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="USD"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="NGN"]>b,.tf-wrc>summary[data-currency="NGN"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%23008751%22 d=%22M0 0h30v20H0z%22/%3E%3Cpath fill=%22%23fff%22 d=%22M10 0h10v20H10z%22/%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="NGN"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="KES"]>b,.tf-wrc>summary[data-currency="KES"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%23fff%22 d=%22M0 0h30v20H0z%22/%3E%3Cpath d=%22M0 0h30v6H0z%22/%3E%3Cpath fill=%22%23bb0000%22 d=%22M0 7h30v6H0z%22/%3E%3Cpath fill=%22%23006600%22 d=%22M0 14h30v6H0z%22/%3E%3Cellipse cx=%2215%22 cy=%2210%22 rx=%222.6%22 ry=%225%22 fill=%22%23bb0000%22 stroke=%22%23fff%22 stroke-width=%22.7%22/%3E%3Cellipse cx=%2215%22 cy=%2210%22 rx=%22.9%22 ry=%225%22 fill=%22%23000%22/%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="KES"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="GHS"]>b,.tf-wrc>summary[data-currency="GHS"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%23ce1126%22 d=%22M0 0h30v6.7H0z%22/%3E%3Cpath fill=%22%23fcd116%22 d=%22M0 6.7h30v6.7H0z%22/%3E%3Cpath fill=%22%23006b3f%22 d=%22M0 13.3h30V20H0z%22/%3E%3Cpath d=%22m15 7 .9 2.6h2.7l-2.2 1.6.8 2.6-2.2-1.6-2.2 1.6.8-2.6-2.2-1.6h2.7z%22/%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="GHS"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="EUR"]>b,.tf-wrc>summary[data-currency="EUR"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%23039%22 d=%22M0 0h30v20H0z%22/%3E%3Cg fill=%22%23fc0%22%3E%3Ccircle cx=%2215%22 cy=%224%22 r=%22.9%22/%3E%3Ccircle cx=%2218%22 cy=%224.8%22 r=%22.9%22/%3E%3Ccircle cx=%2220.2%22 cy=%227%22 r=%22.9%22/%3E%3Ccircle cx=%2221%22 cy=%2210%22 r=%22.9%22/%3E%3Ccircle cx=%2220.2%22 cy=%2213%22 r=%22.9%22/%3E%3Ccircle cx=%2218%22 cy=%2215.2%22 r=%22.9%22/%3E%3Ccircle cx=%2215%22 cy=%2216%22 r=%22.9%22/%3E%3Ccircle cx=%2212%22 cy=%2215.2%22 r=%22.9%22/%3E%3Ccircle cx=%229.8%22 cy=%2213%22 r=%22.9%22/%3E%3Ccircle cx=%229%22 cy=%2210%22 r=%22.9%22/%3E%3Ccircle cx=%229.8%22 cy=%227%22 r=%22.9%22/%3E%3Ccircle cx=%2212%22 cy=%224.8%22 r=%22.9%22/%3E%3C/g%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="EUR"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="CAD"]>b,.tf-wrc>summary[data-currency="CAD"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%23fff%22 d=%22M0 0h30v20H0z%22/%3E%3Cpath fill=%22%23d52b1e%22 d=%22M0 0h7.5v20H0zM22.5 0H30v20h-7.5zM15 4l1.2 2.4 1.8-.6-.6 3 2.1-.9-.6 2.1 1.5.6-3 2.4.3 1.5-2.1-.3V17h-1.2v-2.8l-2.1.3.3-1.5-3-2.4 1.5-.6-.6-2.1 2.1.9-.6-3 1.8.6z%22/%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="CAD"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="AUD"]>b,.tf-wrc>summary[data-currency="AUD"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%23012169%22 d=%22M0 0h30v20H0z%22/%3E%3Cg fill=%22%23fff%22%3E%3Ccircle cx=%227.5%22 cy=%2214.5%22 r=%221.6%22/%3E%3Ccircle cx=%2222.5%22 cy=%2216%22 r=%221%22/%3E%3Ccircle cx=%2219%22 cy=%229%22 r=%221%22/%3E%3Ccircle cx=%2222.5%22 cy=%224%22 r=%221%22/%3E%3Ccircle cx=%2226%22 cy=%228%22 r=%221%22/%3E%3C/g%3E%3Cpath stroke=%22%23fff%22 stroke-width=%222.4%22 d=%22M7.5 0v10M0 5h15%22/%3E%3Cpath stroke=%22%23c8102e%22 stroke-width=%221.2%22 d=%22M7.5 0v10M0 5h15%22/%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="AUD"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="UGX"]>b,.tf-wrc>summary[data-currency="UGX"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath d=%22M0 0h30v3.3H0zM0 10h30v3.3H0z%22/%3E%3Cpath fill=%22%23fcdc04%22 d=%22M0 3.3h30v3.4H0zM0 13.3h30v3.4H0z%22/%3E%3Cpath fill=%22%23d90000%22 d=%22M0 6.7h30V10H0zM0 16.7h30V20H0z%22/%3E%3Ccircle cx=%2215%22 cy=%2210%22 r=%223.2%22 fill=%22%23fff%22/%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="UGX"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>nav>a[data-currency="TZS"]>b,.tf-wrc>summary[data-currency="TZS"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 20%22%3E%3Cpath fill=%22%231eb53a%22 d=%22M0 0h30L0 20z%22/%3E%3Cpath fill=%22%2300a3dd%22 d=%22M30 0v20H0z%22/%3E%3Cpath stroke=%22%23fcd116%22 stroke-width=%227%22 d=%22M0 20 30 0%22/%3E%3Cpath stroke=%22%23000%22 stroke-width=%224.6%22 d=%22M0 20 30 0%22/%3E%3C/svg%3E")}
.tf-wrc>nav>a[data-currency="TZS"]>b{color:transparent!important;background-color:transparent!important;min-width:40px;width:40px;height:27px;border-radius:5px;box-shadow:0 0 0 1px rgba(16,28,61,.12);padding:0}
.tf-wrc>summary[data-currency]::before{content:"";width:22px;height:15px;border-radius:3px;background-size:cover;background-position:center;box-shadow:0 0 0 1px rgba(16,28,61,.12)}
/* compact */
.tf-wrc>summary{padding:7px 11px;gap:7px;font-size:.86rem;border-radius:9px}.tf-wrc>summary[data-currency]::before{width:20px;height:14px}
.tf-wrc>nav{width:232px;padding:6px;border-radius:12px;top:calc(100% + 6px);box-shadow:0 16px 40px rgba(14,26,43,.16)}
.tf-wrc>nav>p{padding:6px 8px 4px;font-size:.66rem}
.tf-wrc>nav>a{gap:10px;padding:7px 8px;border-radius:8px}
.tf-wrc>nav>a>b{min-width:24px!important;width:24px!important;height:16px!important;border-radius:3px!important}
.tf-wrc>nav>a>span{display:flex;align-items:baseline;gap:7px;min-width:0}.tf-wrc>nav strong{font-size:.86rem}.tf-wrc>nav small{font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-wrc>nav>a[aria-current]::after{content:"";margin-left:auto;width:9px;height:5px;border-left:2px solid #1a2b5d;border-bottom:2px solid #1a2b5d;transform:rotate(-45deg) translateY(-2px);flex:0 0 auto}
