/* eSIMStock: restrained, shared mobile refresh. Loaded after style.css. */
:root {
  --border: #e2e8f2;
  --text-2: #475674;
  --text-3: #63718b;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 27, 53, .035);
  --shadow: 0 10px 28px rgba(15, 27, 53, .075);
}
html { scroll-padding-top: 96px; }
body { line-height: 1.65; }
.container { width: 100%; max-width: 1200px; padding-inline: 24px; }
.site-main, .site-main .container, .site-main .grid > *,
.hero-grid > *, .home-split > *, .footer-grid > * { min-width: 0; }
.site-main h1, .site-main h2, .site-main h3 { text-wrap: balance; }
.site-main p { overflow-wrap: break-word; }
.btn { min-height: 46px; border-radius: 12px; }
.btn-primary { box-shadow: 0 5px 14px rgba(47, 107, 237, .17); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(47, 107, 237, .24); }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #2f6bed; outline-offset: 4px;
}
.card { border-radius: 16px; box-shadow: var(--shadow-sm); }
.card-hover:hover { transform: translateY(-2px); }
.page-head, .doc-hero { border-radius: 22px; }
.section-sub { line-height: 1.7; }
.eyebrow { letter-spacing: .065em; font-size: 12px; }
.desktop-header .nav { gap: 20px; }
.desktop-header .header-inner { gap: 18px; }
.desktop-header .header-actions { gap: 8px; }
.footer { border-top: 1px solid rgba(255,255,255,.08); }

/* Keep the recognizable blue hero; replace the mock phone with real imagery. */
body[data-page=""] .hero { min-height: 0; overflow: visible; }
body[data-page=""] .hero-background { overflow: hidden; }
body[data-page=""] .hero-background::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(248,251,255,.98), rgba(239,245,255,.94));
}
body[data-page=""] .hero-grid {
  min-height: 0; grid-template-columns: minmax(0,1.04fr) minmax(0,1fr);
  align-items: center; gap: 48px; padding-block: 64px;
}
body[data-page=""] .hero-copy { padding: 0; align-self: center; }
body[data-page=""] .hero h1 {
  font-size: clamp(34px, 3.8vw, 50px); line-height: 1.12;
  letter-spacing: -.035em; margin: 12px 0 20px;
}
body[data-page=""] .hero p.lead { font-size: 17px; margin-bottom: 24px; }
body[data-page=""] .hero-search {
  max-width: none; grid-template-columns: minmax(0,1fr) auto;
  padding: 7px; border: 1px solid #d8e2f0; border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15,27,53,.07);
}
body[data-page=""] .hero-search .field { min-width: 0; border: 0; }
body[data-page=""] .hero-search input { min-width: 0; font-size: 16px; }
body[data-page=""] .hero-search .btn { min-height: 48px; padding-inline: 18px; }
body[data-page=""] .hero-review { font-weight: 500; line-height: 1.6; }
body[data-page=""] .hero-visual.travel-hero-photo {
  position: relative; display: block; width: 100%; max-width: 560px;
  align-self: center; justify-self: center; padding: 0; border-radius: 24px;
  box-shadow: 0 18px 40px rgba(20,50,90,.14); overflow: hidden;
}
.travel-hero-photo img, .travel-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
}
.home-split-visual.travel-photo {
  display: block; min-height: 0; border-radius: 24px;
  box-shadow: 0 12px 32px rgba(15,27,53,.08); background: #e7eef7;
}
.home-split { gap: 56px; }
.home-checks { gap: 18px; margin-block: 26px; }
.home-checks small { font-size: 14px; line-height: 1.65; }
.home-partners { padding-block: 28px; }
.country-card { box-shadow: var(--shadow-sm); }
.country-card .name { line-height: 1.4; }
.country-card .body { gap: 14px; }
.country-card .info { min-width: 0; }
.country-card .stub { flex-shrink: 0; }
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-list details { border-radius: 14px; }
.faq-list summary { min-height: 56px; line-height: 1.5; }
.faq-list details p { line-height: 1.75; }

/* Useful buying information, in the same visual language as existing cards. */
.travel-guide { background: #fff !important; }
.travel-guide-intro { margin-bottom: 30px; }
.travel-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.travel-guide-card { padding: 28px; }
.travel-guide-icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  margin-bottom: 22px; border-radius: 12px; color: var(--brand-600); background: var(--brand-50);
}
.travel-guide-card h3 { font-size: 18px; line-height: 1.4; margin-bottom: 12px; }
.travel-guide-card p { color: var(--text-2); font-size: 15px; line-height: 1.75; }
.travel-guide-note {
  margin-top: 24px; padding: 16px 20px; border: 1px solid var(--border);
  border-radius: 12px; color: var(--text-2); background: #f8faff; font-size: 14px;
}
.travel-guide-note a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 901px) and (max-width: 1160px) {
  .desktop-header .container { padding-inline: 18px; }
  .desktop-header .header-inner { gap: 12px; }
  .desktop-header .nav { gap: 12px; margin-left: 0; }
  .desktop-header .nav a { font-size: 13px; }
  .desktop-header .logo-img { max-width: 140px; }
  .desktop-header .header-actions .btn { padding-inline: 11px; }
}
@media (max-width: 991px) {
  body[data-page=""] .hero-grid { gap: 28px; padding-block: 40px; }
  body[data-page=""] .hero h1 { font-size: clamp(32px,4.5vw,42px); }
  .home-split { gap: 32px; }
  .travel-guide-card { padding: 22px; }
}
@media (max-width: 900px) {
  .container { width: 100%; padding-inline: 20px; }
  .mobile-header .mobile-cart, .mobile-header .mobile-account,
  .mobile-header .burger { min-width: 44px; min-height: 44px; }
  .mobile-nav { max-width: min(88vw,380px); padding-bottom: max(24px,env(safe-area-inset-bottom)); }
  .mobile-nav-links a { min-height: 48px; }
  .mobile-nav .selector-btn { min-height: 44px; }
  .mobile-nav .selector-menu a { min-height: 44px; }
  body[data-page=""] .hero { margin-top: 0; padding-top: 0; }
  body[data-page=""] .hero-grid { grid-template-columns: minmax(0,1fr); padding-top: 32px; padding-bottom: 36px; }
  body[data-page=""] .hero-copy, body[data-page=""] .hero--has-photo .hero-copy { text-align: left; }
  body[data-page=""] .hero h1, body[data-page=""] .hero p.lead { margin-left: 0; margin-right: 0; max-width: 640px; }
  body[data-page=""] .hero-visual.travel-hero-photo { display: block; max-width: 640px; justify-self: start; }
  .home-split { grid-template-columns: minmax(0,1fr); }
  .home-split-copy { order: -1; }
  .home-split-visual.travel-photo { max-width: 640px; }
  .travel-guide-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .travel-guide-card { display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 18px; }
  .travel-guide-icon { grid-row: 1 / 3; margin: 0; }
  .travel-guide-card h3 { margin: 0 0 8px; }
  .travel-guide-card p { grid-column: 2; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  .container { padding-inline: 18px; }
  main > .section { padding-block: 44px; }
  .section-title { font-size: clamp(26px,7vw,32px); line-height: 1.2; }
  .section-sub { font-size: 16px; }
  .page-head, .doc-hero { padding: 24px 20px; margin-bottom: 24px; border-radius: 18px; }
  .page-head h1, .doc-hero h1 { font-size: clamp(27px,7.5vw,34px); overflow-wrap: break-word; }
  .site-main input:not([type="checkbox"]):not([type="radio"]),
  .site-main select, .site-main textarea { font-size: 16px; }
  .site-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .site-main select { min-height: 46px; }
  .site-main input, .site-main select, .site-main textarea { max-width: 100%; }
  .site-main .btn { white-space: normal; text-align: center; }
  body[data-page=""] .hero h1 { font-size: clamp(30px,8.5vw,38px); margin-block: 8px 16px; }
  body[data-page=""] .hero p.lead { font-size: 16px; line-height: 1.7; }
  body[data-page=""] .hero-search { grid-template-columns: minmax(0,1fr); gap: 6px; padding: 7px; }
  body[data-page=""] .hero-search .field { min-height: 48px; }
  body[data-page=""] .hero-search .btn { width: 100%; }
  body[data-page=""] .hero-visual.travel-hero-photo, .home-split-visual.travel-photo { border-radius: 18px; }
  .country-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .country-card, .country-card .body { min-height: 82px; }
  .country-card .body { padding: 16px; }
  .country-card .name { font-size: 16px; overflow-wrap: break-word; }
  .features { grid-template-columns: minmax(0,1fr); }
  .features, .steps, .testi-grid { gap: 14px; }
  .feature, .step { padding: 24px; }
  .step .n { margin-bottom: 18px; }
  .home-app-panel { padding: 30px 22px; border-radius: 20px; gap: 28px; }
  .home-app-actions { flex-wrap: wrap; gap: 16px; }
  .travel-guide-card { padding: 22px 18px; column-gap: 14px; }
  .travel-guide-note { padding: 16px; line-height: 1.75; }
  .faq-list summary { padding-right: 36px; font-size: 16px; }
  .cta { padding: 32px 22px; border-radius: 20px; }
  .footer { padding-top: 42px; }
  .footer-grid { gap: 28px; }
  .footer a { overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .mobile-header .logo .logo-img { max-width: 118px !important; }
  .mobile-header .mobile-header-actions { gap: 4px !important; }
  .country-card .info { gap: 10px; }
  .country-card .stub { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-hover:hover, .btn-primary:hover { transform: none; }
}

/* Partner discovery, editorial imagery and consistent small-screen controls. */
.home-partnership-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:center; padding:32px; border:1px solid #dbe6fe; border-radius:26px; background:#eff4ff; }
.home-partnership-panel>img { display:block; width:100%; height:360px; object-fit:cover; border-radius:18px; object-position:60% center; }
.home-partnership-panel .eyebrow { color:#1e52d6; }
.home-partnership-panel .section-title { color:#0f1b35; margin:14px 0 20px; }
.home-partnership-panel p { color:#475674; margin-bottom:24px; }
.home-partnership-panel small { display:block; color:#63718b; font-size:12px; line-height:1.7; margin-top:18px; }
.home-partnership-panel .btn { gap:20px; }
.site-main input:focus-visible,.site-main select:focus-visible { outline-offset:2px; }
.pp-hero-grid>* { min-width:0; }
@media(max-width:900px) { .home-partnership-panel { grid-template-columns:minmax(0,1fr); padding:24px; gap:28px; } .home-partnership-panel>img { height:300px; } }
@media(max-width:640px) {
  body[data-page=""] .hero-grid { gap:26px; }
  body[data-page=""] .hero-visual.travel-hero-photo img { aspect-ratio:1.2; object-position:55% center; }
  .home-partnership-panel { padding:18px; border-radius:20px; gap:24px; }
  .home-partnership-panel>img { height:250px; border-radius:14px; }
  .home-partnership-panel .btn { width:100%; justify-content:space-between; }
  .pp-hero-actions { flex-direction:column; align-items:stretch; }
  .pp-hero-actions .btn-lg { min-height:50px; white-space:normal; flex:auto; }
  .pp-hero-title { font-size:34px; overflow-wrap:break-word; }
  .pp-hero-card { padding:20px; }
  .pp-hero-trust { gap:12px; }
  body[data-page="catalog"] .search-box { display:grid; grid-template-columns:minmax(0,1fr); padding:8px; gap:8px; }
  body[data-page="catalog"] .search-box .field { min-height:48px; }
  body[data-page="catalog"] .search-box .btn { width:100%; }
  .pill { min-height:44px; display:inline-flex; align-items:center; }
  .plan-grid { grid-template-columns:minmax(0,1fr); }
  .a-input { max-width:100%; }
}
