/* The look every site shares since 2 Dec 2026 (briefs/2026-12-02-one-look/SPEC.md): the tokens, the base, the shell
   (header with its search, the strip under it, the footer) and the one set of buttons. This file is unlayered, so its
   rules win over the old ones in site.css (@layer legacy) whatever their specificity; the old !important declarations
   (the tuning of the non-Latin scripts) still win over it, which is intended. A rebuilt component starts clean
   (all: revert), so no old property leaks into it. Logical properties only: a page read from right to left mirrors.
   The comparison page, the start pages and the other page types follow in look-compare.css, look-start.css and
   look-rest.css. */

/* ==================================================================================================================
   Tokens. One tint per site; everything else is the same on every site.
   ================================================================================================================== */

:root {
  --paper: #ffffff;
  --ink: #101820;
  --ink-2: #24303a;
  --muted: #5b6670;
  --muted-2: #47525d;
  --faint: #8b96a0;
  --line: #e3e6e1;
  --line-2: #ccd1cb;
  --field: #f2f3ef;
  --signal: #ffd500;
  --signal-deep: #f0c400;
  --signal-soft: #fff6c2;
  --ok: #0b6e45;
  --tint: #f2f3ef;
  --tint-soft: color-mix(in srgb, var(--tint) 38%, #ffffff);
  --page-gutter: 20px;
  --page-width: 1280px;
  --arrow-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7h8M7.5 3.5 11 7l-3.5 3.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 11.5 11.5 4.5M5.5 4.5h6v6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --magnifier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='6' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='m13 13 5 5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

@media (min-width: 720px) {
  :root {
    --page-gutter: 32px;
  }
}

@media (min-width: 1200px) {
  :root {
    --page-gutter: 80px;
  }
}

/* eSIM Charts' old navy (its buttons, chosen chips and rows) is the ink of every site now. */
html[data-site="esim"] {
  --tint: #abf1ce;
  --navy: var(--ink);
  --navy-hover: var(--ink-2);
}

html[data-site="cards"] {
  --tint: #d9c1f9;
}

html[data-site="protein"] {
  --tint: #ffc9a8;
}

html[data-site="tinte"],
html[data-site="ink"] {
  --tint: #b5dcff;
}

html[data-site="ahk"] {
  --tint: #d2f28a;
}

html[data-site="solar"] {
  --tint: #ffdc9a;
}

html[data-site="lampen"] {
  --tint: #d6dde8;
}

/* The friendly skin's page colour (eSIM, cards, protein) is the page's white now. */
.soft {
  --ground: var(--paper);
}

/* ==================================================================================================================
   Base: white page, ink text, Archivo (the old rules keep each script's font stack), one type scale.
   ================================================================================================================== */

body {
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  font-stretch: 82%;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-weight: 800;
  font-stretch: 88%;
}

/* A heading inside running text or a card names a part of it: the card title's size, not a section's (the solar
   calculator's result, the cards of eSIM's guide overview). */
.prose h2,
.calc__result h2,
.guidehub__item h2 {
  font-size: 22px;
  font-stretch: 88%;
  line-height: 28px;
  letter-spacing: 0;
}

/* Greek and Cyrillic are set in the system sans (site.css), which has no narrow width: no negative tracking, and the
   room between lines their capitals need. Arabic, Chinese, Japanese and Korean are tuned in site.css. */
:is(h1, h2):is(:lang(el), :lang(ru)) {
  line-height: 1.12;
  letter-spacing: 0;
}

table {
  font-variant-numeric: tabular-nums;
}

input,
select,
textarea,
button {
  font-family: inherit;
}

.wrap {
  width: min(var(--page-width), 100% - 2 * var(--page-gutter));
  margin-inline: auto;
}

/* The first part of a page keeps its distance from the strip (or the header where a page has no strip). */
main {
  padding-block-start: 24px;
}

/* The friendly skin's sticky row of jump links above the offer groups was painted in the old page colour by hand
   (site.css), so it would not show as a band wider than the content: on the white page it takes the white. */
.soft .sizechips {
  background: rgba(255, 255, 255, 0.92);
}

/* Read by screen readers, not shown. */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==================================================================================================================
   The header (engine/render/shell.ts, header): the mark and the name, the switch to the hub, the search, the pages,
   the language chooser. 72px high on white with a hairline below. The language chooser and the way back after an
   automatic switch keep their own rules in site.css (languages.js depends on them), restyled below.
   ================================================================================================================== */

:where(.site-head, .site-head *:not(svg, svg *, .langs, .langs *, .langback, .langback *)) {
  all: revert;
  box-sizing: border-box;
}

.site-head {
  display: block;
  background: var(--paper);
  border-block-end: 1px solid var(--line);
  color: var(--ink);
}

.site-head__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}

.site-name {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand__tile {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
}

/* The switch to the hub: a quiet pill, its hit area 44px tall. */
.site-head__hub {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding-block: 7px;
  padding-inline: 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.site-head__hub::after {
  content: "";
  position: absolute;
  inset: -7px 0;
}

.site-head__hub svg {
  display: block;
  flex: none;
}

.site-head__hub:hover {
  border-color: var(--line-2);
  color: var(--ink);
}

.site-head nav {
  display: block;
  margin-inline-start: auto;
}

.site-head nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-head nav li {
  display: block;
}

.site-head nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.site-head nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-head nav [aria-current] {
  font-weight: 700;
}

.site-head :focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* The language chooser of eSIM Charts: the shape of the controls. It keeps its width, so its label is never cut;
   the search beside it gives way (a phone has its own rule below). */
.site-head .langs {
  flex: none;
}

.site-head .langs > summary {
  min-height: 44px;
  border-color: var(--line-2);
  border-radius: 12px;
}

.site-head .langs__list {
  border-color: var(--line);
  border-radius: 16px;
}

/* The way back after an automatic switch hangs under the header, in the room it keeps, at the end of the new wrap. */
html.langback-on .site-head {
  position: relative;
  margin-block-end: 60px;
}

.site-head .langback {
  inset-inline-end: max(var(--page-gutter), (100% - var(--page-width)) / 2);
  max-width: calc(100% - 2 * var(--page-gutter));
}

/* ---- The search (markup in shell.ts, search; search.js shows the form and fills the list) ---- */

.site-search {
  position: relative;
  display: block;
  flex: 0 1 440px;
  min-width: 0;
  margin: 0;
  margin-inline: auto;
}

.site-search[hidden],
.site-search__list[hidden] {
  display: none;
}

/* With the search shown, it takes the free middle of the row and the nav keeps to its end. */
.site-search:not([hidden]) ~ nav {
  margin-inline-start: 0;
}

.site-search::before {
  content: "";
  position: absolute;
  inset-block-start: 13px;
  inset-inline-start: 16px;
  width: 18px;
  height: 18px;
  background: var(--muted-2);
  -webkit-mask: var(--magnifier) center / contain no-repeat;
  mask: var(--magnifier) center / contain no-repeat;
  pointer-events: none;
}

.site-search__q {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding-block: 0;
  padding-inline: 44px 16px;
  border: 1px solid var(--field);
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  -webkit-appearance: none;
  appearance: none;
}

.site-search__q::placeholder {
  color: var(--muted);
  opacity: 1;
}

.site-search__q::-webkit-search-decoration,
.site-search__q::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.site-search__q:hover {
  border-color: var(--line-2);
}

.site-search__q:focus {
  border-color: var(--line-2);
  background: var(--paper);
}

.site-search__q:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
}

.site-search__list {
  position: absolute;
  z-index: 30;
  inset-block-start: calc(100% + 8px);
  inset-inline: 0;
  display: block;
  max-height: min(70vh, 480px);
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(16, 24, 32, 0.28);
}

.site-search__hit {
  display: block;
}

.site-search__hit a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding-block: 10px;
  padding-inline: 12px;
  border-radius: 11px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
}

.site-search__hit a:hover,
.site-search__hit[aria-selected="true"] a {
  background: var(--field);
}

.site-search__name {
  flex: 1 1 auto;
  min-width: 0;
}

.site-search__price {
  flex: none;
  margin-inline-start: auto;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-search__none {
  display: block;
  padding-block: 16px;
  padding-inline: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
}

/* Below 900px the way to all pages and the text pages leave the row: the strip and the footer carry them. A list
   that holds nothing else (no language links) goes as a whole, so it takes no gap of the row: on a phone that gap
   pushed eSIM's language chooser onto a line of its own at 360px. */
@media (max-width: 899px) {
  .site-head nav .site-head__all,
  .site-head nav .site-head__more,
  .site-head nav:not(:has(li:not(.site-head__all, .site-head__more))) {
    display: none;
  }
}

/* A row that holds a language chooser has room for the text pages beside the search only from 1320px: measured on
   all 23 languages, the Greek and the French row are the longest. Below, the footer carries them. */
@media (max-width: 1319px) {
  .site-head__row:has(> .langs) nav .site-head__more {
    display: none;
  }
}

/* A phone: the mark, the name, the switch to the hub and the language chooser on the first line, the search across
   the second. */
@media (max-width: 719px) {
  .site-head__row {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 10px 12px;
    min-height: 64px;
  }

  .site-name {
    gap: 8px;
    font-size: 18px;
    line-height: 22px;
  }

  .site-head .langs {
    flex: 0 1 auto;
    margin-inline-start: auto;
  }

  .site-search {
    order: 1;
    flex: 1 1 100%;
    margin-inline: 0;
  }

  /* 16px, so a phone does not zoom into the field. */
  .site-search__q {
    font-size: 16px;
  }
}

/* Where a language chooser shares a small phone's first line, the switch to the hub shows its four squares alone; its
   name stays for screen readers. */
@media (max-width: 479px) {
  .site-head__row:has(> .langs) .site-head__hub {
    padding-inline: 9px;
  }

  .site-head__row:has(> .langs) .site-head__hub span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* So it does on every site on the narrowest phones, and just above the phone's widths, where the search shares the
   line again and a long placeholder would not fit beside the switch's name. */
@media (max-width: 379px), (min-width: 720px) and (max-width: 779px) {
  .site-head__hub {
    padding-inline: 9px;
  }

  .site-head__hub span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ==================================================================================================================
   The strip under the header (shell.ts, strip): where the page sits (or a start page's summary) at the start, how
   fresh its prices are at the end, behind a green dot; the dot is grey where no price is checked.
   ================================================================================================================== */

:where(.strip, .strip *) {
  all: revert;
  box-sizing: border-box;
}

.strip {
  display: block;
  background: var(--field);
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  min-height: 44px;
}

/* A path longer than its line scrolls sideways inside the strip at every width, so it never widens the page. */
.strip .crumbs {
  display: block;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.strip .crumbs::-webkit-scrollbar {
  display: none;
}

.strip .crumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.strip .crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* The reset does not reach pseudo-elements: the old separator's margin goes here, the gaps keep 8px on each side. */
.strip .crumbs li + li::before {
  content: "/";
  margin: 0;
  color: #9aa3ab;
}

/* A path step is a target as tall as the strip. */
.strip .crumbs a {
  display: inline-block;
  padding-block: 14px;
  color: var(--muted-2);
  text-decoration: none;
}

.strip .crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.strip .crumbs [aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.strip__state {
  display: block;
  margin: 0;
  margin-inline-start: auto;
  padding-block: 14px;
  color: var(--muted-2);
}

/* Arabic, Chinese, Japanese and Korean keep the room between lines the old state line had (site.css, .status). */
.strip__state:lang(ar) {
  line-height: 1.75;
}

.strip__state:is(:lang(ja), :lang(ko), :lang(zh-Hant)) {
  line-height: 1.7;
}

.strip__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 8px;
  border-radius: 999px;
  background: var(--ok);
  vertical-align: 1px;
}

.strip__state--none .strip__dot {
  background: var(--faint);
}

/* A state in parts (the friendly skin's "45 Datenpakete von 12 Anbietern", "Preise geprüft am ..."): parted by a dot. */
.strip__state > span + span + span::before {
  content: "· ";
}

.strip time {
  white-space: nowrap;
}

/* The quiet line that stays under a heading when its state line moved into the strip ("8 der 11 Angebote sind auf
   Lager.", "In 3 Packungsgrößen."): the room the state line gave it. */
:is(.hero, .lede__head) > h1 + :is(.hero__note, .status__note) {
  margin-block-start: 12px;
}

.strip :focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
  border-radius: 4px;
}

/* A phone: the path on one line that scrolls sideways, the state on a line of its own under it. */
@media (max-width: 719px) {
  .strip__row {
    display: block;
    padding-block: 2px 12px;
  }

  .strip .crumbs {
    margin-inline: calc(-1 * var(--page-gutter));
    padding-inline: var(--page-gutter);
  }

  .strip .crumbs a {
    padding-block: 12px;
  }

  .strip .crumbs [aria-current] {
    padding-block: 12px;
  }

  .strip__state {
    padding-block: 0;
  }

  .strip__row > .strip__state:first-child {
    padding-block-start: 12px;
  }
}

/* A box that scrolls sideways (the path in the strip, eSIM's provider wins in look-rest.css) fades out at the edge
   where more of it hides, so the cut reads as "more this way". The box's own scroll position sets the two fades: each
   is as wide as what hides beyond its edge, up to 24px, so a box whose content fits (no scroll range, the timeline
   inactive) fades nowhere and one that is cut by a few pixels fades only those. The mask fades the content into
   whatever is behind it (the strip's colour, the page's white). A browser without scroll timelines shows no fade. */
@property --fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

/* Over the first 24px of the scroll the start's fade grows to 24px; over the last 24px the end's shrinks to nothing. */
@keyframes fade-start {
  from {
    --fade-start: 0px;
  }

  to {
    --fade-start: 24px;
  }
}

@keyframes fade-end {
  from {
    --fade-end: 24px;
  }

  to {
    --fade-end: 0px;
  }
}

@supports (animation-timeline: scroll()) {
  .strip .crumbs {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent);
    animation: fade-start auto linear both, fade-end auto linear both;
    animation-timeline: scroll(self inline), scroll(self inline);
    animation-range: 0 24px, calc(100% - 24px) 100%;
  }

  /* Right to left the path starts at the right edge. */
  [dir="rtl"] .strip .crumbs {
    -webkit-mask-image: linear-gradient(to left, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent);
    mask-image: linear-gradient(to left, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent);
  }
}

/* ==================================================================================================================
   The footer (shell.ts, footer; the list of all pages from site-index.ts): white, a hairline on top, muted text, the
   same lines in the same order as before.
   ================================================================================================================== */

:where(.site-foot, .site-foot *:not(svg, svg *)) {
  all: revert;
  box-sizing: border-box;
}

.site-foot {
  display: block;
  margin-block-start: 88px;
  padding-block: 48px 56px;
  border-block-start: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.site-foot p {
  max-width: 72ch;
  margin: 0;
}

.site-foot p + p {
  margin-block-start: 6px;
}

.site-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin: 0;
  margin-block-start: 16px;
  padding: 0;
  list-style: none;
}

.site-foot li {
  display: block;
}

.site-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-foot__network {
  display: block;
  margin-block-start: 28px;
}

.site-foot__network p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-foot__network ul {
  margin-block-start: 4px;
}

/* The list of every page, folded: its summary in the links' type with a chevron, the pages in columns. */
.site-foot__all {
  display: block;
  margin-block-start: 12px;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--line);
}

.site-foot__all > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.site-foot__all > summary::-webkit-details-marker {
  display: none;
}

.site-foot__all > summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 6px;
  background: currentColor;
  -webkit-mask: var(--chevron) center / contain no-repeat;
  mask: var(--chevron) center / contain no-repeat;
}

.site-foot__all[open] > summary::after {
  transform: rotate(180deg);
}

.site-foot__all ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0 24px;
  margin-block-start: 8px;
}

.site-foot__all a {
  font-weight: 500;
}

.site-foot :focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==================================================================================================================
   Buttons: one set on every site. Main (yellow, one per view), dark (ink), outline (the default), chip and pill.
   The old button classes join the set here: .btn and .btn--ink of the sign pages, .gobtn and .gobtn--main of the
   friendly skin, the ink sites' filter chips, eSIM's filter chips. Only paint and type are set on the old classes, so
   their places keep the sizes and wrapping the old rules gave them.
   ================================================================================================================== */

:where(.btn, .gobtn) {
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

:where(.btn, .gobtn):hover {
  border-color: var(--ink);
  background: var(--field);
  box-shadow: none;
  color: var(--ink);
}

:where(.btn--small) {
  font-size: 14px;
}

/* The dark button, and the friendly skin's button of the marked offer row (the row to take). eSIM's flat table of all
   groups marks no row as a group's cheapest (site.css), so its button stays an outline one. */
:where(.btn--dark, .btn--ink, .soft .orows tbody tr:has(.obadge) .gobtn:not(.ofilter__list *)) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

:where(.btn--dark, .btn--ink, .soft .orows tbody tr:has(.obadge) .gobtn:not(.ofilter__list *)):hover {
  border-color: var(--ink-2);
  background: var(--ink-2);
  color: var(--paper);
}

/* The main button, and the old ones that were the page's main action: the friendly skin's price box button and the
   button of eSIM's note for visitors from the Emirates (for them the page's main action). */
:where(.btn--main, .gobtn--main, .soft .uaenote__best .gobtn) {
  border-color: var(--signal);
  background: var(--signal);
  box-shadow: none;
  color: var(--ink);
}

:where(.btn--main, .gobtn--main, .soft .uaenote__best .gobtn):hover {
  border-color: var(--signal-deep);
  background: var(--signal-deep);
  box-shadow: none;
  color: var(--ink);
}

:where(.btn--main, .gobtn--main) {
  font-size: 17px;
}

/* The new main button in full: its box, and the arrow after the text, up and on where it leads out to a shop. */
.btn--main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 18px 24px;
  line-height: 22px;
  text-align: center;
}

.btn--main::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: var(--arrow-on) center / contain no-repeat;
  mask: var(--arrow-on) center / contain no-repeat;
}

.btn--main[href^="/go/"]::after {
  width: 16px;
  height: 16px;
  -webkit-mask-image: var(--arrow-up);
  mask-image: var(--arrow-up);
}

[dir="rtl"] .btn--main::after {
  transform: scaleX(-1);
}

/* A chip: one choice of a group; chosen, ink with white type. A pill is a chip for filters. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 0;
  padding-block: 0;
  padding-inline: 17px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--ink);
}

.chip--pill {
  border-radius: 999px;
}

.chip[aria-pressed="true"],
.chip[aria-current],
.chip:has(> input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.chip[aria-pressed="true"] .chip__n,
.chip:has(> input:checked) .chip__n {
  color: inherit;
}

/* eSIM Charts' filter chips (esim-filter.js): the label is the target, the chip is drawn on its span. */
.ofilter__chip span {
  border-color: var(--line-2);
  border-radius: 12px;
  font-size: 15px;
}

.ofilter__chip:hover input:enabled:not(:checked) + span {
  border-color: var(--ink);
}

.ofilter__chip input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
