/* "Browse every plan" on English country pages (countryPlanBrowser.js). */
.cb { --cb-brand: var(--ce-brand, #4338ca); --cb-ink: var(--ce-ink, #111b31); --cb-muted: var(--ce-muted, #59667a); --cb-line: var(--ce-line, #e1e7f0); --cb-soft: var(--ce-soft, #f3f3ff); color: var(--cb-ink); }
.country-experience .cb { max-width: 1152px; margin: 36px auto; padding: 32px; border: 1px solid var(--cb-line); border-radius: 20px; background: #fff; box-shadow: none; scroll-margin-top: 88px; }
.cb .cb-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cb .cb-head h2 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.cb .cb-head > p:not(.ce-eyebrow) { max-width: 680px; margin: 0; color: var(--cb-muted); font-size: 15px; line-height: 1.6; }
.cb .cb-icon { flex: none; }

/* Controls */
.cb .cb-tools { display: grid; gap: 14px; margin: 24px 0 0; padding: 16px; border-radius: 16px; background: #f8fafc; border: 1px solid var(--cb-line); }
.cb .cb-seg { display: flex; width: 100%; max-width: 560px; gap: 4px; min-width: 0; margin: 0; padding: 4px; border: 1px solid var(--cb-line); border-radius: 12px; background: #fff; }
.cb .cb-seg label { flex: 1 1 0; min-width: 0; margin: 0; }
.cb .cb-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cb .cb-seg span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 9px; font-size: 14px; font-weight: 700; color: #334155; text-align: center; line-height: 1.2; cursor: pointer; transition: background-color .15s, color .15s; }
.cb .cb-seg small { font-size: 12px; font-weight: 700; color: var(--cb-muted); }
.cb .cb-seg span:hover { background: var(--cb-soft); }
.cb .cb-seg input:checked + span { background: var(--cb-brand); color: #fff; }
.cb .cb-seg input:checked + span small { color: #e0e7ff; }
.cb .cb-seg input:focus-visible + span { outline: 3px solid var(--cb-brand); outline-offset: 2px; }
.cb .cb-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.cb .cb-field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.cb .cb-field-label { font-size: 13px; font-weight: 700; color: #334155; }
.cb .cb-select { position: relative; display: block; }
.cb .cb-select select { width: 100%; min-height: 44px; padding: 0 40px 0 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--cb-ink); font: inherit; font-size: 15px; font-weight: 600; -webkit-appearance: none; appearance: none; cursor: pointer; }
.cb .cb-select select:hover { border-color: #a5b4fc; }
.cb .cb-select select:focus-visible { outline: 3px solid var(--cb-brand); outline-offset: 1px; border-color: var(--cb-brand); }
.cb .cb-select .cb-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--cb-muted); pointer-events: none; }

.cb .cb-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 20px 0 8px; min-height: 24px; }
.cb .cb-count { margin: 0; font-size: 14px; font-weight: 700; color: var(--cb-ink); }
.cb .cb-currency { margin: 0; font-size: 13px; color: var(--cb-muted); }

/* The list: a table on wide screens */
.cb .cb-list { scroll-margin-top: 96px; }
.cb .cb-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cb .cb-table thead th { padding: 10px 14px; border-bottom: 1px solid var(--cb-line); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cb-muted); text-align: left; background: none; }
.cb .cb-table thead th:nth-child(4), .cb .cb-table thead th:nth-child(5) { text-align: right; }
.cb .cb-row { border-bottom: 1px solid var(--cb-line); transition: background-color .15s; }
.cb .cb-row:hover { background: #fafaff; }
.cb .cb-row > * { padding: 14px; text-align: left; vertical-align: middle; border: 0; background: none; }
.cb .cb-data { font-size: 17px; font-weight: 800; white-space: nowrap; }
.cb .cb-days { color: #334155; white-space: nowrap; }
.cb .cb-price { text-align: right; font-size: 17px; font-weight: 800; white-space: nowrap; }
.cb .cb-pergb { text-align: right; color: var(--cb-muted); font-size: 14px; white-space: nowrap; }
.cb .cb-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.cb .cb-badge-fixed { padding-inline: 0; background: none; color: var(--cb-muted); font-weight: 600; }
.cb .cb-badge-daily { background: #fff7ed; color: #9a3412; }
.cb .cb-go { width: 1%; text-align: right; }
.cb .cb-go a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-weight: 700; color: var(--cb-brand); text-decoration: none; white-space: nowrap; }
/* The whole row opens the plan. */
/* The whole row opens the plan (country-browse.js). No stretched ::after here:
   a table row is not a containing block in every browser, and the overlay then
   covered the top of the page and sent hero clicks to a plan. */
.cb .cb-row[data-cb-row-link] { cursor: pointer; }
.cb .cb-go a:hover, .cb .cb-row:hover .cb-go a { text-decoration: underline; }
.cb .cb-go a:focus-visible { outline: 3px solid var(--cb-brand); outline-offset: 2px; border-radius: 8px; }
.cb .cb-row[hidden], .cb .cb-group[hidden], .cb[data-cb-collapsed] .cb-group.cb-extra, .cb[data-cb-collapsed] .cb-row.cb-extra { display: none; }
/* Light-use and emergency plans (under 1GB): grouped after the main plans. */
.cb .cb-group > th { padding: 18px 14px 10px; border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); background: #f8fafc; text-align: left; font-weight: 400; }
.cb .cb-group-title { display: block; font-size: 14px; font-weight: 800; color: #0f172a; }
.cb .cb-group-text { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--cb-muted); }
.cb .cb-badge-light { background: #f1f5f9; color: #334155; }
.cb .cb-row-light .cb-data, .cb .cb-row-light .cb-price { font-weight: 700; }

.cb .cb-empty { margin: 8px 0 0; padding: 24px; border: 1px dashed #cbd5e1; border-radius: 14px; text-align: center; color: #334155; }
.cb .cb-empty[hidden] { display: none; }
.cb .cb-empty p { margin: 0 0 12px; }
.cb .cb-btn, .cb .cb-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid #c7d2fe; border-radius: 12px; background: var(--cb-soft); color: var(--cb-brand); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.cb .cb-btn:hover, .cb .cb-toggle:hover { background: #e0e7ff; border-color: #a5b4fc; }
.cb .cb-btn:focus-visible, .cb .cb-toggle:focus-visible { outline: 3px solid var(--cb-brand); outline-offset: 2px; }
.cb .cb-toggle { width: 100%; margin-top: 16px; }
.cb .cb-toggle[hidden] { display: none; }
.cb .cb-toggle[aria-expanded="true"] .cb-icon { transform: rotate(180deg); }

/* Buying advice, folded away */
.cb .cb-help { margin-top: 20px; border-top: 1px solid var(--cb-line); }
.cb .cb-help summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 4px 0; font-weight: 700; color: var(--cb-ink); cursor: pointer; list-style: none; }
.cb .cb-help summary::-webkit-details-marker { display: none; }
.cb .cb-help summary:focus-visible { outline: 3px solid var(--cb-brand); outline-offset: 2px; border-radius: 6px; }
.cb .cb-help[open] summary .cb-icon { transform: rotate(180deg); }
.cb .cb-help-body { padding-bottom: 4px; color: #334155; }
.cb .cb-help-body h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 700; }
.cb .cb-help-body p, .cb .cb-help-body li { margin: 8px 0; line-height: 1.6; }
.cb .cb-help-body ul { padding-left: 1.25rem; list-style: disc; }
.cb .cb-help-body a { color: #3730a3; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { .cb * { transition: none !important; } }

/* Phones: each row is a compact two-line card. */
@media (max-width: 640px) {
  .country-experience .cb { margin: 28px 12px; padding: 20px 16px; border-radius: 18px; }
  .cb .cb-tools { padding: 12px; margin-top: 18px; gap: 12px; }
  .cb .cb-seg span { padding: 0 6px; font-size: 13px; flex-direction: column; gap: 0; }
  .cb .cb-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cb .cb-fields > .cb-field:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cb .cb-select select { font-size: 15px; padding-left: 12px; }
  .cb .cb-table, .cb .cb-table tbody { display: block; }
  .cb .cb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cb .cb-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 24px; align-items: center; gap: 4px 10px; padding: 12px 2px; }
  .cb .cb-row > * { padding: 0; }
  .cb .cb-data { grid-column: 1; grid-row: 1; font-size: 17px; }
  .cb .cb-days { grid-column: 2; grid-row: 1; font-size: 14px; color: var(--cb-muted); }
  .cb .cb-kind { grid-column: 1 / 3; grid-row: 2; }
  .cb .cb-price { grid-column: 3; grid-row: 1; font-size: 17px; }
  .cb .cb-pergb { grid-column: 3; grid-row: 2; font-size: 13px; }
  .cb .cb-go { grid-column: 4; grid-row: 1 / 3; width: auto; }
  .cb .cb-go a { justify-content: flex-end; width: 24px; padding: 0; font-size: 0; }
  .cb .cb-go a .cb-icon { width: 20px; height: 20px; }
  .cb .cb-group { display: block; }
  .cb .cb-group > th { display: block; padding: 14px 12px 10px; border-radius: 12px; margin: 10px 0 2px; border: 0; }
}
