/* ===================================================
   uPhone — Design System
   Clean, no-shadow aesthetic · Apple-inspired nav
   =================================================== */

/* ── CSS Custom Properties ───────────────────────────────────────── */
:root {
  --brand-primary:        #4C8CE4;
  --brand-primary-rgb:    76, 140, 228;
  --brand-secondary: #406093;
  --brand-dark:      #2b3f5e;
  --brand-light:     #eef4fd;
  --brand-accent:    #91D06C;
  --brand-yellow:    #FFF799;

  --text-primary:    #1d1d1f;
  --text-secondary:  #6e6e73;
  --text-muted:      #52525b;

  --bg-surface:      #ffffff;
  --bg-subtle:       #f8faff;

  --radius-sm:       0.375rem;
  --radius-md:       0.75rem;
  --radius-lg:       1.25rem;
  --radius-xl:       1.75rem;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

/* ── Bootstrap Color Overrides ───────────────────────────────────── */
:root {
  --bs-primary:     var(--brand-primary);
  --bs-primary-rgb: 76, 140, 228;
  --bs-link-color:  var(--brand-primary);
  --bs-link-hover-color: #3575c8;
}

/* ── Base ────────────────────────────────────────────────────────── */
html {
  overflow-x: clip; /* clip (not hidden) so fixed-position children keep their reference */
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Mobile: prevent double-tap zoom on buttons/links ───────────── */
a, button, [role="button"],
input[type="button"], input[type="submit"], input[type="reset"],
label[for], .btn {
  touch-action: manipulation;
}
/* Prevent iOS zoom on focused inputs (font-size must be ≥ 16px) */
input, select, textarea {
  font-size: max(1rem, 16px);
}

/* ── Typography ──────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── uPhone Nav ──────────────────────────────────────────────────── */
.uphone-nav {
  height: 52px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 1030;
}

.uphone-nav-inner {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Brand */
.uphone-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 2rem;
}

.uphone-brand:hover {
  color: var(--text-primary);
}

/* Member/Affiliate toggle pill (desktop) */
.uphone-aff-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: .5rem;
  background: #f0f4ff;
  border: 1px solid rgba(76,140,228,.22);
  border-radius: 999px;
  padding: 2px;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.uphone-aff-pill a {
  padding: 3px 8px;
  border-radius: 999px;
  text-decoration: none;
  color: #94a3b8;
}
.uphone-aff-pill a.active {
  background: #4C8CE4;
  color: #fff;
}

.esim-chip {
  width: 30px;
  height: 19px;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Nav body — flex row on desktop, fullscreen overlay on mobile */
.uphone-nav-body {
  flex: 1;
  align-items: center;
}
@media (min-width: 992px) {
  .uphone-nav-body { display: flex !important; }
  /* On desktop, mnav-scroll is just a transparent flex wrapper */
  .mnav-scroll { display: contents; }
  .mnav-bottom { display: none !important; }
}

/* Centre links */
.uphone-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: 0;
}

.uphone-links li {
  position: relative;
}

.uphone-links a,
.uphone-links > li > a {
  display: block;
  padding: 0 0.85rem;
  height: 52px;
  line-height: 52px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
}

.uphone-links a:hover {
  color: var(--brand-primary);
}

/* Dropdown caret */
.uphone-links .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 5px;
  opacity: 0.5;
  vertical-align: middle;
}

/* Shared dropdown style */
.uphone-dropdown.dropdown-menu {
  min-width: 190px;
  padding: 0.4rem;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,.09) !important;
  margin-top: 10px !important;   /* gap below the nav bar */
  top: 100% !important;
}

.uphone-dropdown li a,
.uphone-dropdown.dropdown-menu li a {
  display: block;
  padding: 0.42rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  line-height: 1.4;
  height: auto;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.uphone-dropdown li a:hover {
  background: rgba(76,140,228,.07);
  color: var(--brand-primary);
}

.uphone-dropdown-heading {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  padding: 0.3rem 0.75rem 0.2rem;
  list-style: none;
}

.uphone-dropdown-divider {
  height: 1px;
  background: rgba(0,0,0,.07);
  margin: 0.3rem 0.5rem;
  list-style: none;
}

.uphone-dropdown-highlight a {
  color: var(--brand-primary) !important;
  font-weight: 500 !important;
}

/* Right side cluster */
.uphone-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Search */
.uphone-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* Icon-only button (search, etc.) */
.uphone-icon-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.uphone-icon-btn:hover {
  color: var(--brand-primary);
  background: rgba(0,0,0,.04);
}

.uphone-search-expand {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.uphone-search-input {
  width: 200px;
  height: 30px;
  padding: 0 0.8rem;
  font-size: 0.8125rem;
  background: rgba(0,0,0,.05);
  border: none;
  border-radius: 980px;
  color: var(--text-primary);
  outline: none;
  transition: width var(--transition-base);
}

.uphone-search-input::placeholder {
  color: var(--text-muted);
}

.uphone-search-input:focus {
  width: 240px;
  background: rgba(0,0,0,.08);
}

/* Vertical separator between icon area and auth */
.uphone-nav-sep {
  width: 1px;
  height: 16px;
  background: rgba(0,0,0,.12);
  margin: 0 0.25rem;
  flex-shrink: 0;
}

/* Log In — colored square button */
.uphone-link-btn {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--brand-primary);
  border-radius: 8px;
  padding: 0.3rem 0.9rem;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.uphone-link-btn:hover {
  background: #3575c8;
  color: #fff;
}

/* Get Started — single pill CTA (kept for backwards compat) */
.uphone-cta-btn {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  background: var(--brand-primary);
  border-radius: 980px;
  padding: 0.3rem 0.9rem;
  text-decoration: none;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.uphone-cta-btn:hover {
  background: #3575c8;
  color: #fff;
}

/* User button (logged-in) — same as link-btn */
.uphone-user-btn {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-primary);
  background: none;
  border: none;
  padding: 0 0.4rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.uphone-user-btn:hover {
  color: var(--brand-primary);
}

/* Mobile toggler */
.uphone-toggler {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1032; /* always above fullscreen nav */
}

.uphone-toggler span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.uphone-toggler.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.uphone-toggler.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.uphone-toggler.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── Buttons (rest of site, outside nav) ─────────────────────────── */
.btn {
  font-family: inherit;
  font-weight: 400;
  font-size: 0.875rem;
  border-radius: 980px;
  transition: background var(--transition-fast), opacity var(--transition-fast);
}

.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-primary:hover {
  background: #3575c8;
  border-color: #3575c8;
}

.btn-primary:visited,
.btn-primary:visited:hover {
  color: #fff;
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* ── Mobile nav ─────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .uphone-nav {
    height: 52px;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #fff !important;
    backdrop-filter: none;
    z-index: 1031;
    transition: transform .25s ease;
  }
  .uphone-nav.nav-scroll-hidden { transform: translateY(-100%); }
  body { padding-top: 52px; }

  /* ── CS chat: bottom-right on mobile, slightly smaller ──────────── */
  #cs-chat-toggle {
    width: 44px !important;
    height: 44px !important;
  }
  #cs-chat-toggle svg { width: 20px !important; height: 20px !important; }
  #cs-chat-panel {
    max-height: 72vh !important;
    width: calc(100vw - 24px) !important;
    max-width: 320px !important;
  }

  /* Top bar: [hamburger] [logo-center] [cart] — three-slot layout */
  .uphone-nav-inner {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 0 8px;
    height: 52px;
  }

  /* Hamburger — column 1 */
  .uphone-toggler {
    grid-column: 1;
    justify-self: start;
  }

  /* Brand — centered in column 2, hide "Member"/"Affiliate" suffix */
  .uphone-brand {
    grid-column: 2;
    justify-self: center;
    margin: 0;
    font-size: 1.2rem;
  }
  .uphone-brand-suffix { display: none; }

  /* Hide toggle pill on mobile — not needed in fullscreen nav */
  .uphone-aff-pill { display: none !important; }

  /* Mobile cart icon — column 3 */
  .uphone-nav-inner > .uphone-icon-btn {
    grid-column: 3;
    justify-self: end;
  }

  /* ── Fullscreen nav overlay ─────────────────────────────────────── */
  .uphone-nav-body {
    display: none;
    position: fixed;
    top: 52px; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: calc(100dvh - 52px);
    background: #fff;
    z-index: 1030;
    flex-direction: column;
    overflow: hidden;
  }
  .uphone-nav-body.is-open {
    display: flex;
  }

  /* Scrollable middle: nav links + desktop right (unused on mobile) */
  .mnav-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 1.25rem 1rem;
    width: 100%;
  }

  .uphone-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    gap: 0;
  }
  .uphone-links li { width: 100%; }
  .uphone-links a {
    display: block;
    height: auto;
    line-height: 1.5;
    padding: 0.9rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-weight: 400;
  }
  .uphone-links .has-dropdown > a::after { display: none; }
  .uphone-dropdown.dropdown-menu { position: static !important; box-shadow: none; border: none; padding-left: 0.75rem; }

  /* Hide desktop-only pieces on mobile */
  .uphone-right { display: none; }

  /* ── Pinned bottom section ──────────────────────────────────────── */
  .mnav-bottom {
    flex-shrink: 0;
    border-top: 1px solid rgba(0,0,0,.08);
    padding: 0.75rem 1rem 1.25rem;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  /* Language / Currency option rows — small and subtle */
  .mnav-option-row {
    border-bottom: 1px solid rgba(0,0,0,.04);
  }
  .mnav-option-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.72rem;
    color: var(--text-muted);
  }
  .mnav-option-icon { color: var(--text-muted); flex-shrink: 0; opacity: .7; }
  .mnav-option-label { flex: 1; font-weight: 400; }
  .mnav-option-value { font-size: .7rem; color: var(--text-muted); }
  .mnav-option-chevron { flex-shrink: 0; color: var(--text-muted); transition: transform .2s; }
  .mnav-option-btn[aria-expanded="true"] .mnav-option-chevron { transform: rotate(180deg); }

  /* Collapsed sub-list */
  .mnav-sub-list { padding: 0.15rem 0 0.35rem 0; display: flex; flex-direction: column; gap: 1px; }
  .mnav-sub-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: 7px;
    font-size: .75rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background .15s;
  }
  .mnav-sub-item:hover { background: rgba(0,0,0,.04); }
  .mnav-sub-item.active { background: rgba(var(--brand-primary-rgb, 65, 130, 229), .08); }
  .mnav-sub-flag { font-size: .9rem; width: 18px; text-align: center; }
  .mnav-sub-label { flex: 1; }

  /* Language / Currency compact inline buttons */
  .mnav-lc-btn {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 8px;
    padding: 0 .6rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
  }
  .mnav-lc-btn::after { margin-left: auto; }
  .mnav-lc-btn:hover { border-color: var(--brand-primary); }

  /* Auth row — full width, prominent */
  .mnav-auth {
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .mnav-auth .btn {
    width: 100%;
    font-size: .9375rem !important;
    padding: .75rem 1rem !important;
    margin-bottom: 0 !important;
    border-radius: 10px !important;
    white-space: nowrap;
  }
  /* Two-button row (Buy Now + Log in): auto-width so flex:1 governs */
  .mnav-auth-split .btn {
    width: auto !important;
    flex: 1;
    padding: .7rem .5rem !important;
    font-size: .875rem !important;
  }
}

/* ── Cards — flat, no shadow ─────────────────────────────────────── */
.card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none !important;
}

/* Hover: border colour change only, no lift, no shadow */
.hover-lift {
  transition: border-color var(--transition-base);
  cursor: pointer;
}

.hover-lift:hover {
  transform: none;
  box-shadow: none !important;
}

/* ── Hero Section ────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(160deg, #eef4fd 0%, #dce9fb 55%, #fffde0 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
}

.min-vh-hero {
  min-height: 400px;
}

.hero-badge .badge {
  font-size: 0.75rem;
  background: rgba(76, 140, 228, 0.1) !important;
  color: var(--brand-primary) !important;
  font-weight: 500;
}

.hero-search-wrapper .input-group {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-search-wrapper .form-control,
.hero-search-wrapper .input-group-text {
  border: none;
  font-size: 1rem;
  padding: 0.8rem 1rem;
}

.hero-search-wrapper .btn {
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: 0 1.5rem;
}

/* Hero selling points (mobile) */
.hero-selling-points {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: .92rem;
  color: var(--text-primary);
}
.hero-selling-points li {
  display: flex;
  align-items: center;
  line-height: 1.4;
}

/* Hero search card (new date-range form) */
.hero-search-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
  max-width: 480px;
}
@media (max-width: 575px) {
  .hero-search-card { padding: 1rem; border-radius: 14px; }
}

/* ── Phone Mockup ────────────────────────────────────────────────── */
/* ── Hero AI illustration ─────────────────────────────────────────── */
.hero-illustration {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
  /* Round only the right-side corners */
  border-radius: 0 3px 3px 0;
  /* Fade in from left edge so it blends with the hero gradient */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%);
}

/* Plans banner image ─────────────────────────────────────────────── */
.subs-banner-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 20px 20px 0;
  mix-blend-mode: luminosity;
  opacity: .72;
}

/* eSIM explainer illustration ────────────────────────────────────── */
.esim-section-illustration {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  /* No border-radius — let the parent box clip it flush */
}

/* Steps spot illustrations ───────────────────────────────────────── */
.step-spot-img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  display: block;
  margin-bottom: .75rem;
}

/* ── Hero iPhone mockup ───────────────────────────────────────────── */
.phone-frame {
  position: relative;
  width: 260px;
  background: linear-gradient(160deg, #2a2a2c 0%, #1c1c1e 100%);
  border-radius: 44px;
  padding: 10px;
  /* Subtle ring highlight at top-left */
  outline: 1px solid rgba(255,255,255,.08);
  outline-offset: -1px;
}

/* Side buttons */
.phone-frame::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 80px;
  width: 3px;
  height: 60px;
  background: #2c2c2e;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 #2c2c2e;
}
.phone-frame::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 100px;
  width: 3px;
  height: 56px;
  background: #2c2c2e;
  border-radius: 0 2px 2px 0;
}

.phone-screen {
  background: #f2f2f7;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.phone-island {
  width: 80px;
  height: 26px;
  background: #1c1c1e;
  border-radius: 0 0 18px 18px;
  margin: 0 auto 2px;
  flex-shrink: 0;
}

/* Hero phone status bar */
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 16px 2px;
  font-size: 10px;
  font-weight: 600;
  color: #1d1d1f;
  flex-shrink: 0;
}

/* Hero phone content */
.phone-content {
  padding: 6px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* App title row */
.phone-app-title {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -.4px;
  padding: 0 2px;
}

/* eSIM active card */
.phone-esim-card {
  background: linear-gradient(135deg, #4C8CE4 0%, #406093 100%);
  border-radius: 18px;
  padding: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.phone-esim-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}

.phone-esim-label {
  font-size: 9px;
  font-weight: 500;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
}
.phone-esim-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.phone-esim-meta {
  font-size: 10px;
  opacity: .8;
  margin-bottom: 6px;
}
.phone-data-bar-track {
  height: 4px;
  background: rgba(255,255,255,.22);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}
.phone-data-bar-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  width: 16%;
}
.phone-esim-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  opacity: .8;
}

/* Connection widget */
.phone-network-row {
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-network-dot {
  width: 8px;
  height: 8px;
  background: #91D06C;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
.phone-network-text-top {
  font-size: 11px;
  font-weight: 600;
  color: #1d1d1f;
}
.phone-network-text-sub {
  font-size: 10px;
  color: #6e6e73;
}

/* Quick stats row */
.phone-stats-row {
  display: flex;
  gap: 7px;
}
.phone-stat-chip {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  text-align: center;
}
.phone-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -.3px;
}
.phone-stat-lbl {
  font-size: 8.5px;
  color: #6e6e73;
  margin-top: 1px;
}

/* Home indicator */
.phone-home-bar {
  width: 90px;
  height: 4px;
  background: #1c1c1e;
  border-radius: 2px;
  margin: 10px auto 6px;
  flex-shrink: 0;
  opacity: .18;
}

/* ── Plan Cards ──────────────────────────────────────────────────── */
.plan-card {
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
  transition: border-color var(--transition-base);
}

.plan-card:hover {
  border-color: var(--brand-primary) !important;
  box-shadow: none !important;
}

.plan-stats {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
}

/* ── Data Tier Pills (destination cards) ────────────────────────── */
.tier-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-sm);
  padding: .25rem .5rem;
  min-width: 56px;
}

.tier-data {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.tier-price {
  font-size: .68rem;
  color: var(--brand-primary);
  font-weight: 500;
  line-height: 1.2;
}

/* ── Destination Cards ───────────────────────────────────────────── */
.destination-card {
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.destination-card:hover {
  border-color: var(--brand-primary) !important;
  background: rgba(76, 140, 228, 0.04) !important;
  box-shadow: none !important;
}

.flag-emoji {
  font-size: 2rem;
  line-height: 1;
}

/* ── Region Cards ────────────────────────────────────────────────── */
.region-card {
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.region-card:hover {
  border-color: var(--brand-primary) !important;
  background: rgba(76, 140, 228, 0.04) !important;
  box-shadow: none !important;
}

/* ── How It Works Steps ──────────────────────────────────────────── */
.step-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Device Scene (iPhone + iPad mockup) ─────────────────────────── */
.device-scene {
  position: relative;
  width: 400px;
  height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: visible;
}

/* Ambient glow behind devices */
.device-scene::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(76,140,228,.18) 0%, rgba(8,145,178,.10) 45%, transparent 75%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* iPad mini */
.ipad-frame {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 210px;
  height: 290px;
  background: linear-gradient(160deg, #2c2c2e 0%, #1c1c1e 100%);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  z-index: 1;
  transform: rotate(-4deg) translate(-6px, 10px);
  transform-origin: bottom left;
}

.ipad-camera {
  width: 6px;
  height: 6px;
  background: #3a3a3c;
  border-radius: 50%;
  margin: 0 auto 6px;
}

.ipad-screen {
  flex: 1;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ipad-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  font-weight: 600;
  color: #1d1d1f;
  padding: 0 2px;
}

.ipad-esim-card {
  background: linear-gradient(135deg, #4C8CE4, #406093);
  border-radius: 8px;
  padding: 10px;
  color: white;
  margin: 0 2px;
}

.ipad-home-indicator {
  width: 60px;
  height: 3px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  margin: 7px auto 2px;
}

/* iPhone */
.iphone-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 164px;
  height: 340px;
  background: linear-gradient(160deg, #2c2c2e 0%, #1c1c1e 100%);
  border-radius: 36px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

/* Side buttons */
.iphone-btn-vol-up,
.iphone-btn-vol-dn {
  position: absolute;
  left: -3px;
  width: 3px;
  background: #2c2c2e;
  border-radius: 2px 0 0 2px;
}
.iphone-btn-vol-up { top: 72px;  height: 28px; }
.iphone-btn-vol-dn { top: 108px; height: 28px; }

.iphone-btn-power {
  position: absolute;
  right: -3px;
  top: 88px;
  width: 3px;
  height: 42px;
  background: #2c2c2e;
  border-radius: 0 2px 2px 0;
}

.iphone-screen {
  flex: 1;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.iphone-island {
  width: 56px;
  height: 14px;
  background: #1c1c1e;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}

.iphone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 14px 2px;
  color: #1d1d1f;
}

.iphone-esim-card {
  background: linear-gradient(135deg, #4C8CE4, #406093);
  border-radius: 12px;
  padding: 12px;
  color: white;
  margin: 0 10px;
}

.iphone-home-indicator {
  width: 80px;
  height: 3.5px;
  background: rgba(255,255,255,.3);
  border-radius: 2px;
  margin: 6px auto 4px;
}

/* ── Currency Switcher ───────────────────────────────────────────── */
.uphone-currency-wrap { position: relative; }

.uphone-currency-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition-fast);
  font-family: inherit;
}

.uphone-currency-btn:hover {
  color: var(--brand-primary);
}

.uphone-chevron {
  opacity: .5;
  transition: transform .2s ease;
}
.uphone-currency-btn[aria-expanded="true"] .uphone-chevron {
  transform: rotate(180deg);
}

/* ── Avatar account dropdown ─────────────────────────────────── */
.uphone-avatar-chevron {
  opacity: .45;
  transition: transform .2s ease, opacity .2s;
}
[data-bs-toggle="dropdown"][aria-expanded="true"] .uphone-avatar-chevron {
  transform: rotate(180deg);
  opacity: .7;
}
.uphone-acct-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  padding: .42rem 1rem;
  color: var(--text-primary);
  border-radius: 0;
  transition: background .12s;
}
.uphone-acct-item i {
  font-size: .9rem;
  width: 16px;
  text-align: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.uphone-acct-item:hover {
  background: #f8fafc;
  color: var(--brand-primary);
}
.uphone-acct-item:hover i {
  color: var(--brand-primary);
}

.currency-option.active {
  background: rgba(76, 140, 228, 0.06) !important;
  color: var(--brand-primary) !important;
}

.currency-option:hover {
  background: rgba(0,0,0,.04) !important;
}

/* ── Search Results Dropdown ─────────────────────────────────────── */
#search-results,
#hero-search-results {
  border-radius: var(--radius-md);
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.8125rem;
  transition: background var(--transition-fast);
}

.search-result-item:hover {
  background: var(--brand-light);
  color: var(--brand-primary);
}

.search-result-section {
  padding: 0.35rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ── Forms ───────────────────────────────────────────────────────── */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: rgba(0, 0, 0, 0.15);
  font-size: 0.875rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: none;
  outline: none;
}

/* ── Dashboard Tabs ──────────────────────────────────────────────── */
.nav-tabs .nav-link {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.875rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.nav-tabs .nav-link.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  font-weight: 500;
}

/* ── Alerts & Badges ─────────────────────────────────────────────── */
.badge {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.bg-primary-subtle {
  background: rgba(76, 140, 228, 0.1) !important;
}

/* ── Footer ──────────────────────────────────────────────────────── */
footer a {
  transition: color var(--transition-fast);
}

footer a:hover {
  color: var(--brand-primary) !important;
}

/* ── Tables ──────────────────────────────────────────────────────── */
.table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.table td {
  font-size: 0.875rem;
  vertical-align: middle;
}

/* ── Accordion (FAQ) ─────────────────────────────────────────────── */
.accordion-button {
  font-size: 0.9rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--brand-primary);
  background: rgba(76, 140, 228, 0.04);
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* ── Utility ─────────────────────────────────────────────────────── */
.prose {
  line-height: 1.8;
  color: var(--text-primary);
}

.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.prose p  { margin-bottom: 1rem; }
.prose ul { margin-bottom: 1rem; }
.prose li { margin-bottom: 0.25rem; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .navbar {
    height: auto;
    min-height: 44px;
  }
  .navbar .container {
    height: auto;
  }
  .navbar-brand {
    line-height: normal;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .navbar .nav-link {
    height: auto;
    line-height: 1.5;
    padding: 0.45rem 0.75rem;
  }
  .navbar-nav {
    height: auto;
    padding: 0.5rem 0;
  }
}

@media (max-width: 768px) {
  .hero-section { min-height: auto; padding: 3rem 0; }
  .display-4    { font-size: 2rem; }
  .plan-card    { border-radius: var(--radius-sm) !important; }

  /* ── Mobile heading sizes ── */
  h2[style*="font-size:1.75rem"],
  h2[style*="font-size: 1.75rem"] {
    font-size: 1.35rem !important;
  }
}

/* ── Hero trust badges (below search card) ─────────────────────── */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  font-size: .8125rem;
  color: var(--text-muted);
}
@media (max-width: 767px) {
  .hero-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem .5rem;
    font-size: .8rem;
    padding-left: .25rem;
  }
  .hero-trust-badges span {
    display: flex;
    align-items: center;
  }
}

/* ── Hero selling points indent ─────────────────────────────────── */
.hero-selling-points {
  padding-left: .5rem;
}

/* ── subs-banner mobile image ──────────────────────────────────── */
.subs-banner-mobile-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.subs-banner-mobile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 576px) {
  .btn { font-size: 0.8125rem; }
}

/* ── Destination tabs ────────────────────────────────────────────── */
#dest-tabs {
  background: rgba(0,0,0,.06);
  border-radius: 980px;
  padding: 5px;
  display: inline-flex;
  gap: 2px;
}
.dest-tab-btn {
  background: transparent;
  border: none;
  border-radius: 980px;
  padding: .4rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}
.dest-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,.5);
}
.dest-tab-btn.active {
  background: #fff;
  color: var(--brand-primary);
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.dest-tab-new {
  background: rgba(255,255,255,.25);
  border-radius: 980px;
  padding: .05rem .35rem;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dest-tab-btn:not(.active) .dest-tab-new {
  background: var(--brand-primary);
  color: #fff;
}

/* Stable tab container — prevents page jump when switching tabs */
.dest-tab-panel { min-height: 260px; }

/* Destination country card */
.dest-country-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  transition: border-color .15s, background .15s;
}
.dest-country-card:hover {
  border-color: var(--brand-primary);
  background: #eef4fd;
}
.dest-flag-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #f5f5f7;
}
.dest-flag-wrap span {
  font-size: 6rem;
  line-height: 1;
  display: block;
}
.dest-card-body {
  flex: 1;
  min-width: 0;
}
.dest-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: .4;
  transition: opacity .15s, transform .15s;
}
.dest-country-card:hover .dest-arrow {
  opacity: 1;
  color: var(--brand-primary);
  transform: translateX(2px);
}

/* ── Subscription banner ─────────────────────────────────────────── */
.subs-banner {
  display: flex;
  border-radius: 20px;
  background: linear-gradient(120deg, #eef4fd 0%, #dce9fb 100%);
  overflow: hidden;
  border: 1px solid rgba(76,140,228,.15);
  margin: 2rem 0;
  min-height: 240px;
}
/* Image panel — now on the LEFT */
.subs-banner-img {
  width: 320px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.subs-banner-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.subs-banner-text {
  flex: 1;
  padding: 2.5rem 2.5rem;
}
@media (max-width: 767px) {
  .subs-banner { flex-direction: column; }
  .subs-banner-img { width: 100%; height: 180px; position: relative; }
  .subs-banner-img img { position: absolute; }
  .subs-banner-text { padding: 1.5rem; }
}

/* ── What is an eSIM info box ────────────────────────────────────── */
.esim-info-box {
  background: #fffbeb;
  border-radius: 20px;
  border: 1px solid rgba(251,191,36,.25);
  overflow: hidden;
}
.esim-info-box-text {
  padding: 3rem;
}
@media (max-width: 767px) {
  .esim-info-box-text { padding: 1.75rem 1.25rem; }
}

/* ── How it works — steps box ────────────────────────────────────── */
/* ── How it works — 3 step cards ────────────────────────────────── */
.step-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  height: 100%;
}
.step-card-img {
  background: #f5f5f7;
  padding: 2.25rem 2rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
}
.step-card-img img {
  width: 100%;
  max-width: 210px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}
.step-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.step-num-badge {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--brand-dark);
  font-size: .9rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
}

/* ── What is an eSIM explainer grid ──────────────────────────────── */
.esim-explainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 575px) {
  .esim-explainer-grid { grid-template-columns: 1fr; }
}
.esim-explainer-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  border: 1px solid rgba(0,0,0,.06);
}
.esim-explainer-icon {
  width: 36px;
  height: 36px;
  background: rgba(76,140,228,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--brand-primary);
}

/* ── Benefits grid ───────────────────────────────────────────────── */
.benefit-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  border: 1px solid rgba(0,0,0,.06);
  transition: border-color .15s;
}
.benefit-card:hover {
  border-color: rgba(76,140,228,.3);
}
.benefit-illus {
  margin-bottom: 1.25rem;
  height: 96px;
  display: flex;
  align-items: flex-end;
}
.benefit-illus img {
  height: 96px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

/* Payment trust row */
.payment-trust-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  margin-top: 3rem;
}
.payment-logos {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 6px;
  overflow: hidden;
  opacity: .9;
  transition: opacity .15s;
}
.pay-logo:hover { opacity: 1; }
/* PayPal has white bg — add subtle outline so it's visible on white page */
.pay-logo[aria-label="PayPal"] {
  border: 1px solid rgba(0,0,0,.1);
}

/* ── Testimonials ────────────────────────────────────────────────── */
.review-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 16px;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: #f5a623;
  font-size: .9rem;
  margin-bottom: .625rem;
}
.review-text {
  font-size: .8375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: .875rem;
}
.review-author {
  font-weight: 600;
  font-size: .8125rem;
  color: var(--text-primary);
}
.review-trip {
  font-size: .75rem;
  color: var(--text-muted);
}

/* ── Reviews carousel ────────────────────────────────────────────── */
/* Outer wrapper — arrows sit here, outside the clip area */
.reviews-carousel {
  position: relative;
  padding: 0 26px;
}
/* Inner clip — only the track gets overflow:hidden; fade edges overlay */
.reviews-track-wrap {
  overflow: hidden;
  position: relative;
}
.reviews-track-wrap::before,
.reviews-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 28px;
  z-index: 2;
  pointer-events: none;
}
.reviews-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 70%);
}
.reviews-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 70%);
}
.reviews-track {
  display: flex;
  gap: 1rem;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.reviews-track .review-card {
  flex: 0 0 calc(33.333% - .667rem);
  min-width: 0;
  height: auto;
}
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--text-primary);
  padding: 0;
  transition: border-color .15s, background .15s;
}
.reviews-arrow:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.reviews-arrow-prev { left: 0; }
.reviews-arrow-next { right: 0; }
@media (max-width: 767px) {
  .reviews-carousel { padding: 0 44px; }
  .reviews-track .review-card { flex: 0 0 100%; }
}

/* ── Browse destination card (shop page) ─────────────────────────── */
.dest-browse-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.dest-browse-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 4px 16px rgba(76,140,228,.12);
}

/* ── Mobile responsive fixes ─────────────────────────────────────── */

/* Dest-tabs: full width on mobile, buttons share space equally */
@media (max-width: 767px) {
  .text-center:has(#dest-tabs) { text-align: left !important; }
  #dest-tabs {
    display: flex;
    width: 100%;
    border-radius: 12px;
  }
  .dest-tab-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* Hero search: stack button on xs */
@media (max-width: 400px) {
  .hero-search-wrapper .input-group { flex-wrap: wrap; border-radius: 12px; }
  .hero-search-wrapper .btn {
    width: 100%;
    border-radius: 0 0 12px 12px;
    padding: .6rem 1rem;
  }
  .hero-search-wrapper .input-group-text,
  .hero-search-wrapper .form-control { border-radius: 12px 12px 0 0; }
}

/* Plan card data/days/price row — prevent cramping on xs */
@media (max-width: 360px) {
  .plan-card .col-4 { font-size: .75rem; }
}

/* Benefits grid: full width on xs */
@media (max-width: 575px) {
  .benefit-card { margin-bottom: .5rem; }
}

/* Step cards: reduce padding on mobile */
@media (max-width: 767px) {
  .step-card-img { min-height: 160px; padding: 1.5rem 1rem 1.25rem; }
}

/* subs-banner text padding on xs */
@media (max-width: 480px) {
  .subs-banner-text { padding: 1.25rem; }
}

/* Shop filter buttons: wrap gracefully */
@media (max-width: 575px) {
  .btn-group .btn { font-size: .78rem; padding: .3rem .6rem; }
}

/* ── Email popup ─────────────────────────────────────────────────── */
.email-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.email-popup-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.email-popup-overlay.d-none {
  display: none !important;
}
.email-popup-modal {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  max-width: 680px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s ease;
}
.email-popup-overlay.visible .email-popup-modal {
  transform: translateY(0);
}
.email-popup-left {
  flex: 1;
  padding: 2.5rem 2.25rem;
}
.email-popup-right {
  width: 240px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #406093 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.email-popup-visual {
  text-align: center;
}
.popup-feature-row {
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  gap: .5rem;
  text-align: left;
}
.email-popup-close {
  position: absolute;
  top: .875rem;
  right: .875rem;
  background: #f5f5f7;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background .15s;
  z-index: 1;
}
.email-popup-close:hover {
  background: rgba(0,0,0,.1);
}
.email-popup-input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid rgba(0,0,0,.15);
  padding: .6rem 0;
  font-size: .9rem;
  color: var(--text-primary);
  outline: none;
  background: transparent;
  margin-bottom: 1rem;
  font-family: inherit;
  transition: border-color .15s;
}
.email-popup-input:focus {
  border-bottom-color: var(--brand-primary);
}
.email-popup-btn {
  width: 100%;
  background: #1d1d1f;
  color: #fff;
  border: none;
  border-radius: 980px;
  padding: .7rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.email-popup-btn:hover {
  background: #000;
}
.email-popup-success {
  text-align: center;
  padding: 1rem 0;
}
@media (max-width: 575px) {
  .email-popup-right { display: none; }
  .email-popup-left { padding: 2rem 1.5rem; }
}

/* ── Cart badge ──────────────────────────────────────────────────── */
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── FAQ Detail page ─────────────────────────────────────────────── */
.faq-answer-body {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.faq-answer-body p { margin-bottom: 1rem; }
.faq-answer-body ul, .faq-answer-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.faq-answer-body li { margin-bottom: .4rem; }
.faq-answer-body strong { color: var(--text-primary); font-weight: 600; }
.faq-answer-body a { color: var(--brand-primary); }

.faq-cta-block {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #406093 100%);
  padding: 2rem 2.25rem;
}
.faq-cta-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.faq-cta-icon {
  color: rgba(255,255,255,.6);
  flex-shrink: 0;
  margin-top: .25rem;
}
@media (max-width: 575px) {
  .faq-cta-inner { flex-direction: column; }
  .faq-cta-block { padding: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════════
   Destination (eSIM) Page
   ══════════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.dest-breadcrumb {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.dest-breadcrumb .breadcrumb-item a {
  color: var(--brand-primary);
  text-decoration: none;
}
.dest-breadcrumb .breadcrumb-item.active { color: var(--text-muted); }

/* ── Hero: Holafly-style split layout ── */
.dest-hero { background: #fff; padding: 1.25rem 0 2.5rem; border-bottom: 1px solid rgba(0,0,0,.06); }
.dest-hero-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 3rem;
  align-items: start;
  min-height: 480px;
}
.dest-hero-img-panel {
  position: relative; overflow: hidden;
  border-radius: 20px;
  min-height: 420px;
}
.dest-hero-flag-bg {
  position: relative;
  width: 100%; height: 100%; min-height: 420px;
  background: #f5f5f7;
  border-radius: 20px;
  overflow: hidden;
}
.dest-hero-illustration {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.dest-hero-flag-emoji {
  font-size: 7rem; line-height: 1;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.15));
}
.dest-hero-country-pill {
  background: rgba(76,140,228,.15); border: 1px solid rgba(76,140,228,.3);
  color: var(--brand-primary); font-weight: 600; font-size: 1.05rem;
  border-radius: 980px; padding: .4rem 1.4rem;
}
.dest-hero-right { }
.dest-hero-right-inner { max-width: 100%; }
.dest-hero-price-badge { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; }

/* Detail tabs */
.dest-detail-tabs {
  display: flex; border-bottom: 2px solid rgba(0,0,0,.08); margin-bottom: 1rem;
}
.dest-detail-tab {
  background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px;
  padding: .5rem 1.1rem; font-size: .88rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: all 150ms;
}
.dest-detail-tab.active { color: var(--brand-primary); border-bottom-color: var(--brand-primary); font-weight: 600; }

/* Booking card */
.dest-booking-card { border: 1.5px solid #c5ddf8; border-radius: 16px; overflow: hidden; margin-top: .75rem; }
.dest-booking-header {
  background: linear-gradient(90deg, #e8f2fd, #f0f7ff);
  padding: .75rem 1.25rem; display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 600; color: var(--text-primary);
  border-bottom: 1px solid #d4e9fb;
}
.dest-currency-badge {
  margin-left: auto; background: #fff; border: 1px solid #d1d5db;
  border-radius: 8px; padding: .2rem .6rem; font-size: .78rem; font-weight: 600; color: #374151;
}
/* Override Bootstrap's bright blue active state in currency dropdown */
.dest-currency-badge + .dropdown-menu .dropdown-item.active,
.dest-currency-badge + .dropdown-menu .dropdown-item:active {
  background-color: #f0f7ff;
  color: var(--brand-primary);
  font-weight: 600;
}
.dest-booking-body { padding: 1.25rem; }
.dest-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 0; border-top: 1px solid rgba(0,0,0,.07);
}
.dest-ppd-badge {
  background: #dcfce7; color: #166534; border-radius: 6px;
  padding: .2rem .5rem; font-size: .72rem; font-weight: 600;
}

/* Mobile hero stack */
@media (max-width: 991px) {
  .dest-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .dest-hero-img-panel { min-height: 220px; order: -1; }
  .dest-hero-flag-bg { min-height: 220px; }
  .dest-hero-illustration { min-height: 220px; }
  .dest-hero-flag-emoji { font-size: 4rem; }
}

/* Small black advantage icons */
.dest-advantage-icon-sm {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #222;
}

/* Type tabs */
.dest-type-tabs {
  display: flex;
  gap: .5rem;
  background: #f5f5f7;
  border-radius: 12px;
  padding: 4px;
}
.dest-type-tab {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 9px;
  padding: .45rem .5rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 150ms ease;
}
.dest-type-tab.active {
  background: #fff;
  color: var(--brand-primary);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/* Duration pills */
.dest-duration-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.dest-duration-pill {
  border: 1.5px solid rgba(0,0,0,.13);
  background: #fff;
  border-radius: 980px;
  padding: .3rem .85rem;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 150ms ease;
}
.dest-duration-pill.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  font-weight: 600;
}
.dest-duration-pill:hover:not(.active):not(:disabled) {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* Plan features */
.dest-plan-features { font-size: .88rem; }
.dest-plan-features li { padding: .2rem 0; display: flex; align-items: center; }

/* Price row */
.dest-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.dest-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -.03em;
}
.dest-per-day { font-size: .78rem; color: var(--text-muted); }
.dest-validity {
  font-size: .82rem;
  color: var(--text-muted);
  text-align: right;
}

/* Data tier radio options */
#data-tier-options { margin-top: .75rem; }
.dest-data-options { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.dest-data-option {
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid rgba(0,0,0,.13); border-radius: 10px;
  padding: .55rem .85rem; cursor: pointer; transition: all 130ms ease;
  background: #fff;
}
.dest-data-option:hover { border-color: var(--brand-primary); background: #f0f7ff; }
.dest-data-option.selected { border-color: var(--brand-primary); background: #eff6ff; }
.dest-data-option input[type=radio] { display: none; }
.dest-data-option-label { display: flex; align-items: center; gap: .5rem; }
.dest-data-tier-badge {
  background: #dbeafe; color: var(--brand-primary); border-radius: 6px;
  padding: .1rem .5rem; font-size: .8rem; font-weight: 700;
}
.dest-data-option-price { font-weight: 700; font-size: .92rem; color: var(--brand-primary); }

/* Quantity */
.dest-qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem 0;
}
.dest-qty-ctrl {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.dest-qty-ctrl button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.15);
  background: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.dest-qty-ctrl button:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
#qty-val { font-weight: 600; font-size: .95rem; min-width: 20px; text-align: center; }

/* Payment row */
.dest-payment-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding-top: .75rem;
  border-top: 1px solid rgba(0,0,0,.06);
}
.dest-payment-icons { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.dest-pay-badge {
  background: #f5f5f7;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 4px;
  padding: .15rem .4rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--text-secondary);
}

/* ── Sticky bottom bar ── */
.dest-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1040;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,.1);
  padding: .75rem 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.dest-sticky-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dest-sticky-info { display: flex; align-items: center; gap: .5rem; }
.dest-sticky-flag {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; background: #f1f5f9;
}
.dest-sticky-flag span {
  font-size: 3.5rem; line-height: 1;
  display: block;
  transform: scale(1.7);
  transform-origin: center;
}

/* ── Fast connection section ── */
.dest-benefit-list { display: flex; flex-direction: column; gap: .85rem; }
.dest-benefit-list li {
  display: flex;
  align-items: center;
  font-size: .95rem;
}
.dest-benefit-list .bi { font-size: 1.2rem; flex-shrink: 0; }
.dest-app-chip {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: .75rem .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 500;
  height: 100%;
  color: var(--text-secondary);
}

/* ── 3 Steps ── */
.dest-step-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 16px;
  padding: 2rem 1.5rem;
}
.dest-step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-light);
  letter-spacing: -.04em;
  line-height: 1;
}
.dest-step-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  margin: .5rem auto 0;
  color: #fff;
  font-size: 1.3rem;
}

/* ── Advantages ── */
.dest-advantage-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
}
.dest-advantage-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── Comparison table ── */
.dest-compare-table { border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); }
.dest-compare-head, .dest-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: .65rem 1rem;
  align-items: center;
}
.dest-compare-head {
  background: var(--brand-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
}
.dest-compare-row { border-bottom: 1px solid rgba(0,0,0,.06); font-size: .88rem; }
.dest-compare-row:last-child { border-bottom: none; }
.dest-compare-row:nth-child(even) { background: #f9fafb; }
.dest-compare-col { text-align: center; font-size: 1rem; }
.dest-compare-us { background: rgba(76,140,228,.08); }
.dest-compare-head .dest-compare-us { background: rgba(255,255,255,.15); }
.dest-compare-feature { font-weight: 500; }

/* ── Reviews ── */
.dest-review-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── Price table ── */
.dest-price-table thead th {
  background: var(--brand-primary);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: .65rem 1rem;
}
.dest-price-table tbody tr { border-bottom: 1px solid rgba(0,0,0,.06); }
.dest-price-table tbody td { padding: .65rem 1rem; }

/* ── Support card ── */
.dest-support-card {
  background: linear-gradient(135deg, var(--brand-primary), #406093);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #fff;
}
.dest-support-card p { color: rgba(255,255,255,.8) !important; }
.dest-support-card .btn { background: #fff; color: var(--brand-primary); border: none; }
.dest-support-card .btn:hover { background: #f0f0f0; }

@media (max-width: 767px) {
  .dest-support-card { flex-direction: column; text-align: center; padding: 1.5rem; }
  .dest-sticky-bar { padding: .6rem 0; }
  .dest-plan-card { position: static; }

  /* ── Tighten breadcrumb → H1 gap on mobile ── */
  .dest-hero { padding: .5rem 0 1.5rem; }

  /* ── Hide hero illustration on mobile ── */
  .dest-hero-img-panel { display: none !important; }

  /* ── Reorder hero inner sections on mobile ── */
  .dest-hero-right-inner { display: flex; flex-direction: column; }
  .dest-details-section  { order: 10; padding-top: .85rem; margin-top: .25rem; border-top: 1px solid rgba(0,0,0,.07); }

  /* ── Sticky bar mobile layout ── */
  .dest-sticky-inner { gap: .5rem; }
  .dest-sticky-info  { flex: 1; min-width: 0; }
  .dest-sticky-flag  { width: 36px; height: 36px; margin-right: .25rem !important; }
  .dest-sticky-flag span { font-size: 3rem; transform: scale(1.65); }

  /* ── Hide 5% off trigger on mobile ── */
  .offer-trigger { display: none !important; }
}


/* ══════════════════════════════════════════════════════════════════
   5% Off Email Popup  — centered modal
   ══════════════════════════════════════════════════════════════════ */
.offer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1999;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.offer-overlay--in { opacity: 1; pointer-events: auto; }

.offer-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2000;
  width: 880px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translate(-50%, -48%) scale(.96);
  opacity: 0;
  transition: transform 300ms ease, opacity 300ms ease;
}
.offer-popup--in {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.offer-popup-inner {
  display: flex;
  align-items: stretch;
  height: 420px;
  flex: 1;
}
/* Image panel — LEFT */
.offer-popup-right {
  width: 380px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #fff9e6 0%, #c7eaff 100%);
  order: -1;
  overflow: hidden;
  position: relative;
}
.offer-popup-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.offer-popup-emoji { font-size: 3rem; }
.offer-popup-tagline {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brand-dark);
  text-align: center;
  line-height: 1.4;
  padding: 0 1rem;
}
.offer-popup-tagline span { color: var(--brand-primary); }

/* Content panel — RIGHT */
.offer-popup-left {
  flex: 1;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.offer-popup-close {
  position: absolute;
  top: .75rem;
  right: .85rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
  z-index: 10;
  padding: .2rem .4rem;
  transition: color 150ms;
}
.offer-popup-close:hover { color: #333; }

.offer-popup-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--brand-primary);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 980px;
  padding: .25rem .75rem;
  margin-bottom: .75rem;
}
.offer-popup-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .5rem;
  color: var(--text-primary);
}
.offer-popup-title span { color: var(--brand-primary); }
.offer-popup-sub {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.offer-form { display: flex; flex-direction: column; gap: .6rem; }
.offer-email-input {
  border: 1.5px solid rgba(0,0,0,.15);
  border-radius: 10px;
  padding: .65rem 1rem;
  font-size: .9rem;
  outline: none;
  width: 100%;
}
.offer-email-input:focus { border-color: var(--brand-primary); }
.offer-submit-btn {
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: .7rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms;
}
.offer-submit-btn:hover { background: #3575c8; }
.offer-legal {
  font-size: .68rem;
  color: var(--text-muted);
  margin-top: .5rem;
  margin-bottom: 0;
}
.offer-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .88rem;
  color: #166534;
}
/* Mobile popup hero image (shown only on mobile, above the form content) */
.offer-popup-mobile-hero {
  width: 100%;
  height: 160px;
  flex-shrink: 0;
}
.offer-popup-mobile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

@media (max-width: 600px) {
  .offer-popup {
    width: calc(100vw - 2rem);
    /* taller on mobile to fit the hero image */
    max-height: calc(100dvh - 4rem);
    overflow-y: auto;
  }
  .offer-popup-inner { height: auto; flex-shrink: 0; }
  .offer-popup-right { display: none; }
  .offer-popup-left { padding: 1.5rem 1.5rem 1.75rem; }
  .offer-popup-title { font-size: 1.2rem; }
}

/* ══════════════════════════════════════════════════════════════════
   eSIM Compatibility Checker Modal
   ══════════════════════════════════════════════════════════════════ */

/* Brand grid */
.compat-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.compat-brand-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .85rem .5rem;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 14px;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 150ms ease;
  overflow: hidden;
}
.compat-brand-btn img {
  display: block;
  width: 100%;
  max-width: 72px;
  height: 28px;
  object-fit: contain;
}
.compat-brand-btn:hover { border-color: var(--brand-primary); }
.compat-brand-btn.active {
  border-color: var(--brand-primary);
  background: var(--brand-light);
  color: var(--brand-primary);
}

/* Note banner */
.compat-note {
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 10px;
  padding: .55rem .85rem;
  font-size: .8rem;
  color: #713f12;
}

/* Back button */
.compat-back-btn {
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  flex-shrink: 0;
  transition: border-color 150ms;
}
.compat-back-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* Model list */
.compat-model-list {
  max-height: 280px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.compat-model-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: .88rem;
  transition: background 100ms;
}
.compat-model-row:last-child { border-bottom: none; }
.compat-model-row:hover:not(.compat-model-no):not(.compat-model-notlisted) {
  background: var(--brand-light);
}
.compat-model-no { opacity: .55; }
.compat-model-notlisted { color: var(--text-muted); font-style: italic; }
.compat-model-notlisted:hover { background: #f5f5f7; }
.compat-model-badge { font-size: .9rem; flex-shrink: 0; }
.compat-model-empty { padding: 1.5rem; text-align: center; color: var(--text-muted); font-size: .88rem; }

/* Result card */
.compat-result-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
}

@media (max-width: 400px) {
  .compat-brand-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Special Offer Trigger Button ── */
.offer-trigger {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1999;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 68px;
  height: 68px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  transition: transform 200ms, box-shadow 200ms;
  padding: 0;
}
.offer-trigger:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.offer-trigger--active { background: #222; }
.offer-trigger-emoji {
  font-size: 1.6rem;
  line-height: 1;
}
.offer-trigger-pct {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  text-transform: uppercase;
}
@media (max-width: 991.98px) {
  .offer-trigger { left: auto; right: 1.5rem; }
}
/* offer-popup-img settings defined above */

/* ── dest h1 flag circle ─────────────────────────────────────────── */
.dest-h1-flag {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ── compat check button hover ────────────────────────────────────── */
.compat-check-btn:hover {
  background: #f0f0f0 !important;
  border-color: rgba(0,0,0,.2) !important;
  color: inherit !important;
}

/* ── install notice yellow box ────────────────────────────────────── */
.dest-install-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .85rem;
  color: #92400e;
  margin-top: .75rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.dest-price-footnote {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: .35rem;
  margin-bottom: 0;
  padding-left: .25rem;
}

/* ── Change of Plans banner ──────────────────────────────────────── */
.dest-refund-banner {
  display: flex;
  align-items: center;
  background: linear-gradient(120deg,#f0fdf4 0%,#dcfce7 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(34,197,94,.15);
}
.dest-refund-banner-img {
  width: 220px;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  padding: 0;
}
.dest-refund-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.dest-refund-banner-body {
  flex: 1;
  padding: 2rem 2rem 2rem 2.5rem;
}
@media (max-width: 600px) {
  .dest-refund-banner { flex-direction: column; }
  .dest-refund-banner-img { width: 100%; max-height: 180px; padding: 0; font-size: 4rem; }
  .dest-refund-banner-img img { height: 180px; object-fit: cover; object-position: center top; }
  .dest-refund-banner-body { padding: 1rem 1.25rem 1.5rem; }
}

/* ── Price table (destination) ───────────────────────────────────── */
.dest-price-table { border-collapse: separate; border-spacing: 0; width: 100%; }
.dest-price-table thead th {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); border: none; padding: .5rem .75rem;
  background: transparent; font-weight: 600;
}
.dest-price-table tbody tr {
  background: #fff; border-radius: 10px; transition: background 120ms;
}
.dest-price-table tbody tr:hover { background: #f5f9ff; }
.dest-price-table td {
  padding: .75rem 1rem; border-top: 1px solid rgba(0,0,0,.06);
  font-size: .9rem; vertical-align: middle;
}
.dest-price-table td:first-child { border-left: none; }
.dest-price-table .ptable-data-badge {
  display: inline-block; background: #eff6ff; color: var(--brand-primary);
  border-radius: 6px; padding: .1rem .5rem; font-size: .75rem; font-weight: 600;
}
/* small section flag circle */
.dest-section-flag {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 4rem; line-height: 1; flex-shrink: 0;
}

/* ── FAQ category tabs ───────────────────────────────────────────── */
.faq-cat-tab {
  background: none;
  border: none;
  padding: .4rem .9rem;
  border-radius: 980px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 150ms, color 150ms;
}
.faq-cat-tab.active {
  background: var(--brand-primary);
  color: #fff;
}
.faq-cat-tab:not(.active):hover { background: #f0f0f0; color: var(--text-primary); }

/* ── Booking card duration box ───────────────────────────────────── */
.dest-days-box {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 10px;
  overflow: hidden;
  height: 40px;
}
.dest-days-box-btn {
  width: 36px;
  flex-shrink: 0;
  background: #f5f5f7;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background 150ms;
}
.dest-days-box-btn:hover { background: #e8e8ee; }
.dest-days-box-val {
  flex: 1;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-primary);
}
.dest-days-box-cal {
  width: 36px;
  flex-shrink: 0;
  background: #f5f5f7;
  border: none;
  border-left: 1px solid rgba(0,0,0,.1);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 150ms;
}
.dest-days-box-cal:hover { background: #e8e8ee; color: var(--brand-primary); }

/* ── Price table independent tabs ────────────────────────────────── */
.ptab-tabs {
  display: flex; gap: .5rem; background: #f5f5f7;
  border-radius: 12px; padding: 4px; max-width: 280px; width: 100%;
}
.ptab-btn {
  flex: 1; border: none; background: transparent; border-radius: 9px;
  padding: .45rem .5rem; font-size: .85rem; font-weight: 500;
  color: var(--text-secondary); cursor: pointer; transition: all 150ms ease;
}
.ptab-btn.active {
  background: #fff; color: var(--brand-primary); font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/* ── Support card (light) ─────────────────────────────────────────── */
.dest-support-card-light {
  background: #f0f7ff;
  border: 1px solid #d4e9fb;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.dest-support-card-light h3 { color: #111; }
.dest-support-card-light p { color: #555; }
.dest-support-body {
  flex: 1;
  padding: 2rem 2rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dest-support-img {
  width: 320px;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  padding: 0;
}
.dest-support-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (max-width: 767px) {
  .dest-support-card-light { flex-direction: column; }
  .dest-support-body { padding: 1.5rem 1.25rem; }
  .dest-support-img { width: 100%; height: 220px; }
}

/* ── Related destinations: country card grid (destination page only) ── */
.dest-country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
@media (max-width: 767px) { .dest-country-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 399px) { .dest-country-grid { grid-template-columns: repeat(1, 1fr); } }
.dest-rel-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 14px;
  text-decoration: none; color: var(--text-primary);
  transition: border-color .15s, background .15s;
}
.dest-rel-card:hover {
  border-color: var(--brand-primary); background: #eef4fd;
}
.dest-rel-card:hover .dest-rel-arrow { opacity: 1; color: var(--brand-primary); transform: translateX(2px); }
.dest-rel-card .dest-flag-wrap { width: 44px; height: 44px; flex-shrink: 0; }
.dest-rel-card-body { flex: 1; min-width: 0; }
.dest-rel-arrow { color: var(--text-muted); flex-shrink: 0; opacity: .4; transition: opacity .15s, transform .15s; }

/* ── Legal pages ─────────────────────────────────────────────────── */
.legal-body h2 { font-size: 1.1rem; font-weight: 700; margin-top: 2rem; margin-bottom: .6rem; color: #111; }
.legal-body h5 { font-size: .9rem; font-weight: 700; margin-top: 1rem; margin-bottom: .4rem; color: #333; }
.legal-body p, .legal-body li { font-size: .92rem; color: #444; line-height: 1.75; }
.legal-body ul { padding-left: 1.4rem; margin-bottom: .75rem; }
.legal-body a { color: var(--brand-primary); }

/* Two-column legal layout */
.legal-page-grid {
  display: grid;
  grid-template-columns: 1fr 38%;
  gap: 3rem;
  align-items: start;
}
.legal-page-sidebar { position: sticky; top: 100px; align-self: stretch; }
.legal-page-sidebar-img { width: 100%; max-height: 480px; border-radius: 20px; object-fit: cover; object-position: center top; display: block; }
.legal-sidebar-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  font-size: 4rem;
}
@media (max-width: 991.98px) {
  .legal-page-grid { grid-template-columns: 1fr; }
  .legal-page-sidebar { display: none; }
}

/* ── Destinations page ───────────────────────────────────────────── */

/* Search bar */
.dest-search-bar {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: 980px;
  padding: .6rem 1.25rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.dest-search-input {
  border: none;
  outline: none;
  flex: 1;
  font-size: .9375rem;
  background: transparent;
  color: var(--text-primary);
}
.dest-search-input::placeholder { color: var(--text-muted); }
.dest-search-bar:focus-within { border-color: var(--brand-primary); }

/* Search dropdown */
.dest-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.10);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  overflow: hidden;
  z-index: 500;
  text-align: left;
}
.dest-dd-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.25rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: background .1s;
}
.dest-dd-item:hover,
.dest-dd-item.is-active { background: #f5f5f7; }
.dest-dd-flag { font-size: 1.2rem; flex-shrink: 0; }
.dest-dd-name { flex: 1; font-size: .9375rem; font-weight: 500; }
.dest-dd-type {
  font-size: .75rem;
  color: var(--text-muted);
  background: rgba(0,0,0,.05);
  border-radius: 6px;
  padding: .15rem .5rem;
  flex-shrink: 0;
}

/* Tab pills — reuse .dest-tab-btn styles from homepage, but for <a> tags too */
a.dest-tab-btn {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1rem;
  border-radius: 980px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, background .15s, box-shadow .15s;
}
a.dest-tab-btn:hover { color: var(--text-primary); background: rgba(255,255,255,.5); }
a.dest-tab-btn.active {
  background: #fff;
  color: var(--brand-primary);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

@media (max-width: 600px) {
  #dest-tabs { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; scrollbar-width: none; }
  #dest-tabs::-webkit-scrollbar { display: none; }
  a.dest-tab-btn { white-space: nowrap; flex-shrink: 0; }
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
  margin-bottom: 2rem;
}
.dest-grid--regional {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.dest-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1.1rem .75rem .9rem;
  background: #f9fafb;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background .15s, border-color .15s, transform .15s;
  text-align: center;
}
.dest-card:hover {
  background: #fff;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  color: var(--text-primary);
}
.dest-card-flag  { font-size: 2.25rem; line-height: 1; }
.dest-card-name  { font-size: .8rem; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.dest-card-sub   { font-size: .72rem; color: var(--text-muted); }
.dest-card-price { font-size: .72rem; color: var(--brand-primary); font-weight: 600; }
.dest-continent-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .75rem;
  margin-top: .25rem;
}
@media (max-width: 576px) {
  .dest-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}
