/* ---------- eSIM: start page, plans, checkout, ready page ---------- */

/* Flags (local images) and region badges */
.flag {
  display: inline-block;
  flex: none;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(16, 16, 16, 0.08);
}
.flag--sm {
  width: 20px;
  height: 14px;
  border-radius: 3px;
}
.flag--md {
  width: 40px;
  height: 30px;
  border-radius: 7px;
}
.flag--xl {
  width: 64px;
  height: 48px;
  border-radius: 10px;
}
.flag--region {
  display: inline-grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: none;
}
.flag--region.flag--sm {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.flag--region .icon {
  width: 60%;
  height: 60%;
}
.flag--region.is-gulf {
  background: #e7f6ec;
  color: #0c7a43;
}
.flag--region.is-asia {
  background: #fff1e0;
  color: #b35b00;
}
.flag--region.is-europe {
  background: #e9eaff;
  color: #3449c9;
}
.flag--region.is-global {
  background: #101010;
  color: #c5ff8b;
}

/* Start page: search */
.es-search {
  margin-top: 18px;
}
.es-search__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 18px 20px 16px;
}
/* Search bar: pin icon · label over the field · quiet note on the right (Airalo / Holafly style) */
.qbox.es-search__box {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 14px;
}
.es-search__ic {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}
.es-search__ic .icon {
  width: 19px;
  height: 19px;
}
.es-search__main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}
.es-search__box input::placeholder {
  color: #a3a3a3;
  font-size: 16px;
  font-weight: 500;
}
.es-search__note {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
.es-search__note b {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 720px) {
  .es-search__note {
    display: none;
  }
}
.es-chip {
  gap: 8px;
}
.es-chip b {
  font-weight: 600;
}
.es-cols {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.es-tabs button {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}
.es-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 6px 0 14px;
}
.es-dest {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.es-dest:hover {
  border-color: var(--ink);
  box-shadow: 0 8px 20px rgba(16, 16, 16, 0.06);
  transform: translateY(-1px);
}
.es-dest__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.es-dest__body b {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.es-dest__body span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.es-dest__price {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
}
.es-dest__price em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}
.es-dest__price b {
  font: 600 15px 'Poppins', sans-serif;
}

/* Start page: customers' eSIMs */
.es-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.es-row:first-child {
  border-top: 0;
}
.es-row__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}
.es-row__top b {
  font-size: 14px;
  font-weight: 600;
}
.es-row__top span {
  color: var(--muted);
  font-size: 12px;
}
.es-bar {
  height: 6px;
  margin: 8px 0 6px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
}
.es-bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--primary);
}
.es-bar.is-low i {
  background: var(--bad);
}
.es-row__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.es-row__meta .is-low {
  color: var(--bad);
  font-weight: 600;
}
.es-row__meta .is-wait {
  color: var(--warn);
  font-weight: 600;
}

/* Tip box and compatibility drawer */
.es-tip {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: #2443b5;
  font-size: 13px;
  line-height: 1.5;
}
.es-tip .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.es-tip b {
  display: block;
  color: var(--ink);
}
.es-tip span {
  color: var(--ink-2);
}
.es-devices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.es-devices li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.es-devices span {
  color: var(--muted);
}

/* Plans page */
.ep-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 4px;
}
.ep-head h1 {
  font-size: 28px;
}
.ep-head .page-head__actions {
  margin-left: auto;
}
.ep-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 13px;
}
.ep-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ep-facts .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.ep-upsell {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  transition: border-color 0.3s var(--ease);
}
.ep-upsell:hover {
  border-color: var(--ink);
}
.ep-upsell .flag--region {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.ep-upsell span:not(.flag) {
  flex: 1;
}
.ep-upsell b {
  color: var(--ink);
}
.ep-upsell > .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.ep-tabs {
  margin-top: 18px;
}
.ep-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
  margin-top: 16px;
}
.ep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ep-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 176px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.ep-card:hover {
  border-color: #cfcfcf;
  transform: translateY(-1px);
}
.ep-card.is-on {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.ep-card__tag {
  position: absolute;
  top: -10px;
  left: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.ep-card__check {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
}
.ep-card__check .icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.ep-card.is-on .ep-card__check {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.ep-card__data {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font: 600 26px/1.15 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.ep-card__inf .icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
}
.ep-card__days {
  color: var(--ink-2);
  font-size: 13px;
}
.ep-card__price {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 12px;
}
.ep-card__price b {
  font: 600 18px 'Poppins', sans-serif;
}
.ep-card__price em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.ep-card__feat {
  color: var(--muted);
  font-size: 11px;
}
.ep-sum {
  position: sticky;
  top: 20px;
  padding: 20px;
}
.ep-sum__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.ep-sum__head b {
  display: block;
  font: 600 17px 'Poppins', sans-serif;
}
.ep-sum__head span {
  color: var(--muted);
  font-size: 12px;
}
.ep-spec {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}
.ep-spec li {
  display: flex;
  gap: 10px;
  font-size: 13px;
}
.ep-spec .icon {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--muted);
}
.ep-spec span {
  display: flex;
  flex-direction: column;
  color: var(--ink-2);
  line-height: 1.45;
}
.ep-spec b {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.ep-spec--tight {
  gap: 8px;
  margin-bottom: 0;
}
.ep-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.ep-qty b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.ep-qty span {
  color: var(--muted);
  font-size: 12px;
}
.ep-total {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.ep-total div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.ep-total span {
  color: var(--muted);
  font-size: 12px;
}
.ep-total strong {
  font: 600 24px 'Poppins', sans-serif;
}
.ep-total em {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--ok);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.ep-total em.is-plain {
  color: var(--muted);
  font-weight: 500;
}
.ep-total em .icon {
  width: 12px;
  height: 12px;
}
.ep-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.ep-note .icon {
  width: 14px;
  height: 14px;
}
.ep-bar {
  display: none;
}

/* Checkout */
.eb-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.eb-name {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.3s var(--ease);
}
.eb-name:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.eb-name__n {
  display: grid;
  width: 24px;
  height: 24px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
}
.eb-name input {
  width: 100%;
  height: 46px;
  border: 0;
  outline: none;
  background: none;
  font: 500 14px Inter, sans-serif;
}
.eb-check {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.eb-check + .eb-check {
  margin-top: 10px;
}
.eb-check:has(input:checked) {
  border-color: var(--ok);
  background: #f7fcf9;
}
.eb-check.is-err {
  border-color: var(--bad);
  background: var(--bad-soft);
}
.eb-check input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--ok);
}
.eb-check span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.eb-check b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.eb-check .link {
  align-self: flex-start;
  font-size: 13px;
}

/* Ready page */
.es-done {
  margin-bottom: 16px;
}
.er-tabs {
  margin-bottom: 16px;
}
.er-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
}
.er-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
}
.er-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: var(--page);
}
.er-qr {
  display: grid;
  width: 224px;
  height: 224px;
  place-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
}
.er-qr img,
.er-qr canvas {
  display: block;
  width: 200px !important;
  height: 200px !important;
}
.er-qr__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.er-qr__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}
.er-qr__hint .icon {
  width: 15px;
  height: 15px;
}
.er-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
}
.er-info__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.er-info__head b {
  display: block;
  font: 600 18px 'Poppins', sans-serif;
}
.er-info__head span {
  color: var(--muted);
  font-size: 13px;
}
.er-state {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn) !important;
  font-size: 12px !important;
  font-weight: 600;
  white-space: nowrap;
}
.er-apple {
  height: 48px;
}
.er-or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.er-or::before,
.er-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.er-codes {
  margin: 0;
}
.er-codes > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.er-codes > div:first-child {
  border-top: 0;
}
.er-codes dt {
  color: var(--muted);
  font-size: 12px;
}
.er-codes dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.er-codes .mono {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.er-sub {
  color: var(--muted);
  font-size: 12px;
}
.er-copy {
  width: 32px;
  height: 32px;
  flex: none;
}
.er-copy .icon {
  width: 15px;
  height: 15px;
}
.er-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.er-os button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
}
.er-os .icon {
  width: 15px;
  height: 15px;
}
.er-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.er-steps li {
  display: flex;
  gap: 14px;
}
.er-steps li > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.er-steps b {
  font-size: 14px;
  font-weight: 600;
}
.er-steps p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1280px) {
  .ep-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .ep-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ep-sum {
    position: static;
  }
  .es-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .er-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .ep-head .page-head__actions {
    width: 100%;
    margin-left: 0;
  }
  /* Phones: a fixed bar keeps Buy in reach while choosing plans */
  .ep-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    border-radius: 16px;
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-pop);
  }
  .ep-bar b {
    display: block;
    font-size: 13px;
    font-weight: 600;
  }
  .ep-bar span {
    color: rgba(255, 255, 255, 0.7);
    font: 600 15px 'Poppins', sans-serif;
  }
  body[data-page='esimPlans'] #content {
    padding-bottom: 90px;
  }
}
@media (max-width: 640px) {
  .es-search__row {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px;
  }
  .es-grid,
  .eb-names {
    grid-template-columns: minmax(0, 1fr);
  }
  .ep-grid {
    gap: 10px;
  }
  .ep-card {
    min-height: 150px;
    padding: 14px;
  }
  .ep-card__data {
    font-size: 22px;
  }
  .er-codes > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}
@media (max-width: 520px) {
  /* Title first, Countries / Regions switch underneath */
  .es-cols .fl-box__head {
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  /* Flag beside the title; actions on their own row */
  .ep-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 14px;
  }
  .ep-head .flag--xl {
    width: 48px;
    height: 36px;
    border-radius: 8px;
  }
  .ep-head h1 {
    font-size: 22px;
  }
  .ep-head .page-head__actions {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  /* Phones: contact fields one per row, so emails fit */
  body[data-page='esimBook'] .fgrid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  /* Phones: switch and status pill drop under their titles */
  .er-guide .card__head {
    flex-wrap: wrap;
  }
  .er-info__head {
    flex-wrap: wrap;
  }
  .er-state {
    margin-left: 52px;
  }
}
@media (max-width: 1440px) {
  /* Not enough width for QR + codes side by side: QR on top, codes below */
  .er-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .er-qr-wrap {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .er-qr__hint {
    max-width: 160px;
  }
}
@media (max-width: 640px) {
  .er-qr-wrap {
    flex-direction: column;
  }
}

/* Region page: flags of the countries covered */
.ep-flags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.ep-flags em {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

/* Tip box: only its title is on its own line; bold words inside the text stay inline */
.es-tip b {
  display: inline;
}
.es-tip > div > b:first-child {
  display: block;
  margin-bottom: 2px;
}

/* ---------- Phone check drawer ---------- */
.ck {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, #f4f5ff 0%, #eef1ff 100%);
  border: 1px solid #dfe3ff;
}
.ck__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ck__badge {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
}
.ck__badge .icon {
  width: 19px;
  height: 19px;
}
.ck__head b {
  display: block;
  font: 600 16px 'Poppins', sans-serif;
}
.ck__head span {
  color: var(--ink-2);
  font-size: 12px;
}
.ck__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 14px;
  padding: 0;
  list-style: none;
}
/* dotted line linking the three steps */
.ck__steps::before {
  content: '';
  position: absolute;
  top: 22px;
  right: 16%;
  left: 16%;
  border-top: 2px dashed #c9cff8;
}
.ck__steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.ck__steps b {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
}
.ck__steps span:not(.ck__key) {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
/* keypad-style keys */
.ck__key {
  display: inline-grid;
  min-width: 64px;
  height: 44px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid #d5daf7;
  border-bottom-width: 3px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ck__key--eid {
  color: var(--primary);
}
.ck__key--ok {
  min-width: 44px;
  border-color: #b7e4c7;
  background: var(--ok);
  color: #fff;
}
.ck__key--ok .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.6;
}
.ck__no {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #dfe3ff;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}
.ck__no .icon {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
  color: var(--primary);
}
.dv-sec {
  margin-top: 22px;
}
.dv-sec h3 {
  margin-bottom: 10px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dv-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dv {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.dv__tile {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 11px;
  background: #101010;
  color: #fff;
  font: 700 15px 'Poppins', sans-serif;
}
.dv__tile .icon {
  width: 18px;
  height: 18px;
}
.dv__body {
  min-width: 0;
  flex: 1;
}
.dv__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dv__body b {
  font-size: 14px;
  font-weight: 600;
}
.dv__body p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.dv__tag {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.dv__tag.is-all {
  background: var(--ok-soft);
  color: var(--ok);
}
.dv__tag.is-some {
  background: var(--warn-soft);
  color: var(--warn);
}
.dv--warn {
  border-color: #f6e3b4;
  background: #fffbf0;
}
.dv--warn .dv__tile {
  background: var(--warn-soft);
  color: var(--warn);
}

/* ---------- Bookings: eSIM rows, usage card and top-up ---------- */
.es-bar.is-off i {
  background: #c4c7d0;
}
.bk-data {
  min-width: 140px;
  max-width: 170px;
}
.bk-data .es-bar {
  margin: 6px 0 4px;
}
.bk-data__txt {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.bk-data__txt.is-low {
  color: var(--bad);
  font-weight: 600;
}
.bk-data__txt.is-wait {
  color: var(--warn);
  font-weight: 600;
}
.bk-data__txt.is-off {
  color: var(--muted);
}
.dr-esim .flag {
  width: 48px;
  height: 36px;
}
.dr-usage {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.dr-usage__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.dr-usage__top strong {
  font: 600 22px 'Poppins', sans-serif;
}
.dr-usage__top span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.dr-usage .es-bar {
  height: 8px;
  margin: 12px 0 8px;
}
.dr-usage p {
  color: var(--muted);
  font-size: 12px;
}
.dr-usage.is-low strong {
  color: var(--bad);
}
.dr-usage.is-wait strong {
  color: var(--warn);
}
.dr-usage__hint {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink-2) !important;
}
.dr-usage__hint .icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--bad);
}
.tu-now {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 13px;
}
.tu-h {
  margin-bottom: 10px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tu-opt {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tu-opt:hover {
  border-color: #c9cff8;
}
.tu-opt.is-on {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.tu-opt__dot {
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid #c4c7d0;
  border-radius: 50%;
}
.tu-opt.is-on .tu-opt__dot {
  border: 5px solid var(--primary);
}
.tu-opt__main {
  flex: 1;
}
.tu-opt b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.tu-opt em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.tu-opt__price {
  text-align: right;
}
.es-row__meta {
  flex-wrap: wrap;
}
.es-row__meta span {
  white-space: nowrap;
}
/* Long country names wrap instead of widening the table */
.bk-table .bk-esim strong {
  max-width: 130px;
  white-space: normal;
}
.bk-table .bk-esim .flag--md {
  width: 34px;
  height: 25px;
  border-radius: 6px;
}

/* PrismTrip pick (set in the admin) */
.es-feat {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  vertical-align: middle;
}
