
/* Location picker above the plan cards (js/hs-loc-v2.js): a compact segmented control with each location's ping. */
.loc { margin: 0 0 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.loc[hidden] { display: none; }
.loc-label { margin: 0; font: 600 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.loc-seg { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--hull-2); background: rgba(9, 14, 23, 0.7); }
.loc-opt { position: relative; display: block; cursor: pointer; }
.loc-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.loc-box { display: flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 10px; border: 1px solid transparent; transition: background 0.2s var(--ease), border-color 0.2s var(--ease); white-space: nowrap; }
.loc-opt:hover .loc-box { background: rgba(56, 189, 248, 0.07); }
.loc-opt input:checked + .loc-box { background: rgba(7, 150, 221, 0.18); border-color: rgba(56, 189, 248, 0.55); }
.loc-opt input:focus-visible + .loc-box { outline: 2px solid var(--sky); outline-offset: 1px; }
.loc-flag { flex-shrink: 0; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.loc-flag svg { display: block; width: 100%; height: 100%; }
.loc-txt { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.loc-txt b { font: 700 0.88rem/1.1 var(--display); color: var(--ink); }
.loc-txt i { font: 500 0.7rem/1 var(--mono); font-style: normal; color: var(--muted); }
.loc-ping { font: 600 0.72rem/1 var(--mono); color: var(--muted); min-width: 3.2em; text-align: right; }
.loc-ping[data-tone="great"] { color: #4ade80; }
.loc-ping[data-tone="good"] { color: #86efac; }
.loc-ping[data-tone="fair"] { color: #fbbf24; }
.loc-ping[data-tone="far"] { color: #fb923c; }
.loc-ping.is-best::after { content: "★"; margin-left: 4px; color: #facc15; }
.loc-opt.is-off { opacity: 0.4; cursor: not-allowed; }
.loc-opt.is-off input { cursor: not-allowed; }
/* Plans India does not sell (Budget and Ultimate): greyed out while India is chosen. */
.plan { position: relative; }
.plan.is-off { filter: grayscale(1); opacity: 0.45; }
.plan.is-off .btn { pointer-events: none; cursor: not-allowed; }
.plan-off { margin-left: auto; font: 600 0.68rem/1 var(--mono); letter-spacing: 0.04em; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--hull-2); color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) {
  .loc { flex-direction: column; align-items: stretch; gap: 8px; }
  .loc-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loc-box { flex-direction: column; align-items: center; gap: 4px; padding: 8px 6px; text-align: center; }
  .loc-txt i { display: none; }
  .loc-ping { min-width: 0; text-align: center; }
}
