/* MS extra: geo modal + country selector (aditivo sobre styles.css) */


/* styles.css usa overflow-x:hidden no body, o que quebra position:sticky.
   clip mantém o recorte horizontal sem criar scroll container. */
body{overflow-x:clip}

.utility-actions{display:flex;align-items:center;gap:10px}
.country-trigger{display:inline-flex;align-items:center;gap:6px;background:none;border:none;border-radius:999px;color:inherit;font:inherit;font-size:.72rem;letter-spacing:.12em;padding:6px 12px;cursor:pointer;opacity:.85;transition:opacity .2s ease}
.country-trigger:hover{opacity:1}
.country-trigger i{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;opacity:.75}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.country-overlay{position:fixed;inset:0;z-index:1200;background:rgba(6,10,14,.72);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px}
.country-overlay[hidden]{display:none}
body.overlay-open{overflow:hidden}

.country-dialog{position:relative;width:min(980px,calc(100vw - 32px));height:min(720px,calc(100vh - 48px));background:#0c151e;border:1px solid rgba(255,255,255,.14);border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.55);display:flex;flex-direction:column;overflow:hidden}
.country-close{position:absolute;top:14px;right:14px;z-index:2;width:36px;height:36px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:transparent;color:#fff;font-size:1.15rem;line-height:1;cursor:pointer;transition:border-color .2s ease}
.country-close:hover{border-color:rgba(255,255,255,.55)}
.country-heading{padding:28px 38px 10px}
.country-heading h2{margin:0;font-size:1.35rem;line-height:1.25;color:#fff;letter-spacing:-.01em}
.country-heading p{margin:8px 0 0;color:rgba(255,255,255,.62);font-size:.92rem;line-height:1.5}

.country-global{margin:14px 38px 0;padding:12px 16px;display:grid;grid-template-columns:32px 1fr auto;gap:12px;align-items:center;border:1px solid rgba(255,255,255,.16);border-radius:8px;color:#fff;background:transparent;text-align:left;cursor:pointer;transition:border-color .2s ease, background-color .2s ease}
.country-global:hover,.country-global.is-current{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.06)}
.country-global-icon{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(255,255,255,.3);border-radius:50%;font-size:16px}
.country-global strong,.country-global small{display:block}
.country-global strong{font-size:.9rem}
.country-global small{margin-top:2px;color:rgba(255,255,255,.5);font-size:.72rem}
.country-global>i{font-style:normal;color:rgba(255,255,255,.6)}

.country-workspace{min-height:0;flex:1;display:grid;grid-template-columns:42% 58%;margin-top:14px;border-top:1px solid rgba(255,255,255,.1)}
.country-map-panel{min-height:0;padding:24px 22px;background:rgba(255,255,255,.03);border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column}
.world-map{display:block;width:100%;min-height:200px;flex:1;aspect-ratio:2/1;border:0;background:transparent;filter:brightness(.8) saturate(.9)}
.continent-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.continent-tabs button{padding:7px 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:rgba(255,255,255,.75);background:transparent;font:inherit;font-size:.72rem;cursor:pointer;transition:border-color .2s ease, background-color .2s ease, color .2s ease}
.continent-tabs button:hover,.continent-tabs button.is-active{border-color:rgba(255,255,255,.55);color:#fff;background:rgba(255,255,255,.08)}

.country-list-panel{min-height:0;overflow:auto;padding:22px 30px 30px}
.country-search{position:sticky;z-index:2;top:-22px;display:block;padding:0 0 14px;background:#0c151e}
.country-search input{width:100%;height:42px;padding:0 14px;border:1px solid rgba(255,255,255,.16);border-radius:6px;background:rgba(255,255,255,.05);color:#fff;font:inherit;font-size:.9rem}
.country-search input:focus{outline:none;border-color:rgba(255,255,255,.45)}
.country-search input::placeholder{color:rgba(255,255,255,.4)}

.country-region{margin-top:20px}
.country-region:first-of-type{margin-top:0}
.country-region[hidden],.country-list button[hidden],.country-empty[hidden]{display:none!important}
.country-region h3{display:flex;justify-content:space-between;margin:0 0 8px;padding-bottom:7px;border-bottom:1px solid rgba(255,255,255,.12);font-size:.68rem;letter-spacing:.11em;text-transform:uppercase;color:rgba(255,255,255,.85)}
.country-region h3 span{color:rgba(255,255,255,.4);font-weight:500}
.country-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
.country-list button{display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:0;border:0;border-bottom:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.85);background:transparent;text-align:left;font:inherit;font-size:.86rem;cursor:pointer;transition:color .15s ease}
.country-list button:hover,.country-list button.is-current{color:#fff}
.country-list button.is-current{font-weight:700}
.country-list button small{color:rgba(255,255,255,.35);font-size:.6rem;font-weight:800;letter-spacing:.09em}
.country-empty{margin:32px 0;color:rgba(255,255,255,.5);text-align:center;font-size:.9rem}

.geo-dialog{width:min(520px,calc(100vw - 32px));height:auto}
.geo-dialog .country-heading{padding:32px 32px 4px}
.geo-dialog .country-heading h2{font-size:1.6rem}
.geo-actions{display:flex;flex-direction:column;gap:10px;padding:18px 32px 32px}
.geo-actions .button{width:100%;justify-content:center;text-align:center}

.footer-country{background:none;border:none;color:inherit;font:inherit;cursor:pointer;opacity:.8;transition:opacity .2s ease}
.footer-country:hover{opacity:1}
.footer-country i{display:inline-block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;margin-left:4px;vertical-align:middle}

.product-site-cta{position:sticky;top:calc(var(--utility-height, 2.25rem) + 4.75rem);z-index:90;padding:0;background:transparent}
.product-site-cta.header-short{top:4.75rem}
.product-site-cta .button{margin:0}

.country-list-panel::-webkit-scrollbar{width:8px}
.country-list-panel::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:4px}
.country-list-panel::-webkit-scrollbar-track{background:transparent}

@media (max-width:860px){
  .country-workspace{grid-template-columns:1fr}
  .country-map-panel{display:none}
}
@media (max-width:640px){
  .country-heading{padding:24px 20px 10px}
  .country-global{margin:12px 20px 0}
  .country-list-panel{padding:16px 20px 24px}
  .country-search{top:-16px}
  .country-list{grid-template-columns:1fr}
  .geo-actions{padding:14px 20px 24px}
}
