/* 5DollarESIM mobile UI v29.32 — single mobile-specific polish layer.
   Linked LAST from the four storefront footers with a new immutable URL.
   Do not put transaction, supplier, cookie-consent or purchase logic here. */
@media screen and (max-width: 760px) {
  /* Make the menu button independent from stale wide-pill declarations. */
  html body[data-header-build="header-v18-1"] header.nav.brand-nav > button.nav-toggle {
    box-sizing:border-box!important;display:flex!important;position:relative!important;
    flex:0 0 46px!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;flex-wrap:nowrap!important;gap:5px!important;
    width:46px!important;min-width:46px!important;max-width:46px!important;
    height:46px!important;min-height:46px!important;max-height:46px!important;
    padding:9px!important;margin-inline-start:auto!important;margin-inline-end:0!important;
    border:1px solid #dcd7ff!important;border-radius:14px!important;
    background:#f4f1ff!important;box-shadow:none!important;
    font-size:0!important;line-height:0!important;overflow:hidden!important;
  }
  html body[data-header-build="header-v18-1"] header.nav.brand-nav > button.nav-toggle > span {
    box-sizing:border-box!important;display:block!important;position:static!important;
    flex:none!important;width:20px!important;min-width:20px!important;max-width:20px!important;
    height:2px!important;min-height:2px!important;max-height:2px!important;
    margin:0!important;padding:0!important;border:none!important;border-radius:4px!important;
    background:#6354f5!important;opacity:1!important;transform:none!important;
  }
  html body[data-header-build="header-v18-1"] header.nav.brand-nav > button.nav-toggle > b,
  html body[data-header-build="header-v18-1"] header.nav.brand-nav > button.nav-toggle > strong {
    display:none!important;
  }
  html body[data-header-build="header-v18-1"] header.nav.brand-nav > button.nav-toggle:focus-visible {
    outline:3px solid rgba(99,84,245,.45)!important;outline-offset:3px!important;
  }
  /* A country already contains purchase CTAs; don't cover them on mobile. */
  html body .sticky-buy-bar {display:none!important;}

  /* The share card is a compact, single-column area on phones. */
  html body .sg2853:not(.sg2853-compact) {
    box-sizing:border-box!important;display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;gap:17px!important;
    width:calc(100% - 24px)!important;max-width:100%!important;
    margin:24px auto 32px!important;padding:20px 17px!important;border-radius:24px!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions {
    box-sizing:border-box!important;display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;gap:11px!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    padding:13px!important;border-radius:19px!important;overflow:visible!important;
    background:rgba(255,255,255,.94)!important;
    border:1px solid rgba(220,226,245,.9)!important;
    box-shadow:0 12px 30px rgba(41,50,115,.09)!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-main {
    box-sizing:border-box!important;display:grid!important;grid-column:1!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:9px!important;width:100%!important;min-width:0!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-main .sg2853-btn {
    box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
    justify-content:center!important;gap:7px!important;width:100%!important;min-width:0!important;
    min-height:49px!important;padding:9px 7px!important;border-radius:13px!important;
    font-size:12px!important;line-height:1.2!important;white-space:normal!important;
    transform:none!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-main .sg2853-btn svg {
    display:block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-main .sg2853-btn span {
    position:static!important;display:inline!important;width:auto!important;height:auto!important;
    margin:0!important;padding:0!important;overflow:visible!important;white-space:normal!important;
    clip:auto!important;clip-path:none!important;font-size:12px!important;line-height:1.2!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social {
    box-sizing:border-box!important;display:grid!important;grid-column:1!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;
    align-items:stretch!important;justify-content:stretch!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    margin:0!important;padding:0!important;border:0!important;
    background:transparent!important;box-shadow:none!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .sg2853-btn {
    box-sizing:border-box!important;display:flex!important;position:relative!important;
    flex:none!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;gap:6px!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    height:72px!important;min-height:72px!important;margin:0!important;padding:8px 3px!important;
    border:1px solid #dfe6f0!important;border-radius:14px!important;
    background:#f6f8fc!important;color:#263e69!important;
    box-shadow:none!important;filter:none!important;transform:none!important;
    text-decoration:none!important;overflow:hidden!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .sg2853-btn::before,
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .sg2853-btn::after {display:none!important;}
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .sg2853-btn span {
    position:static!important;display:block!important;box-sizing:border-box!important;
    width:auto!important;height:auto!important;max-width:100%!important;
    margin:0!important;padding:0!important;overflow:visible!important;
    clip:auto!important;clip-path:none!important;white-space:normal!important;
    color:inherit!important;font-size:10px!important;line-height:1.15!important;
    font-weight:800!important;text-align:center!important;text-overflow:clip!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .sg2853-btn svg {
    display:block!important;flex:0 0 auto!important;position:static!important;
    width:23px!important;height:23px!important;min-width:0!important;
    padding:0!important;margin:0 auto!important;border:0!important;border-radius:0!important;
    background:none!important;filter:none!important;transform:none!important;overflow:visible!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .sg2853-btn.whatsapp {
    color:#087a47!important;background:#eafaf1!important;border-color:#bee9cf!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .sg2853-btn.instagram {
    color:#9f3276!important;background:#fff1f8!important;border-color:#f2d1e6!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .sg2853-btn.facebook {
    color:#155bad!important;background:#edf5ff!important;border-color:#cadfff!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .facebook .sg-social-facebook,
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .facebook .sg-social-facebook path {
    fill:#1877f2!important;stroke:none!important;
  }
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .instagram .ig-bg {fill:url(#sgIgGradient)!important;stroke:none!important;}
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .instagram .ig-camera {fill:none!important;stroke:#fff!important;}
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-social .instagram .ig-dot {fill:#fff!important;}

  /* Footer: allow each trust item to wrap, links in simple readable columns. */
  html body[data-site-build="site-v18"] footer.footer-v10 .shell.footer-grid {
    box-sizing:border-box!important;display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:18px!important;row-gap:26px!important;align-items:start!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .shell.footer-grid > .footer-brand {
    grid-column:1/-1!important;min-width:0!important;padding-bottom:8px!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .footer-brand .footer-trust {
    box-sizing:border-box!important;display:flex!important;flex-flow:row wrap!important;
    align-items:flex-start!important;justify-content:flex-start!important;
    width:100%!important;min-width:0!important;gap:8px!important;
    margin:14px 0 9px!important;padding:0!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .footer-brand .footer-trust > span {
    box-sizing:border-box!important;display:inline-flex!important;position:static!important;
    align-items:center!important;flex:0 1 auto!important;min-width:0!important;
    width:auto!important;margin:0!important;padding:7px 10px!important;
    border:1px solid rgba(255,255,255,.19)!important;border-radius:999px!important;
    background:rgba(255,255,255,.08)!important;color:#e1eaf7!important;
    font-size:11px!important;line-height:1.3!important;letter-spacing:0!important;
    white-space:normal!important;overflow-wrap:break-word!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .footer-brand .footer-trust > span::before {
    display:inline!important;content:'✓'!important;color:#80e8c5!important;margin-inline-end:6px!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .shell.footer-grid > div:not(.footer-brand) {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    min-width:0!important;gap:10px!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .shell.footer-grid > div:not(.footer-brand) > b {
    font-size:14px!important;line-height:1.3!important;margin:0 0 3px!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .shell.footer-grid > div:not(.footer-brand) > a {
    display:block!important;min-width:0!important;max-width:100%!important;
    margin:0!important;padding:0!important;font-size:12px!important;
    line-height:1.45!important;overflow-wrap:anywhere!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .shell.footer-grid > div:nth-child(4) {
    grid-column:1/-1!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .footer-brand .brand-instagram-follow {
    display:inline-flex!important;align-items:center!important;width:auto!important;max-width:280px!important;
    min-width:0!important;padding:8px 12px!important;
  }
  html body[data-site-build="site-v18"] footer.footer-v10 .footer-bottom {
    display:flex!important;flex-wrap:wrap!important;gap:7px 15px!important;
    font-size:11px!important;line-height:1.5!important;
  }

  /* Analytics is a small opaque bottom card; never a translucent scrolling sheet. */
  html body .analytics-consent {
    box-sizing:border-box!important;display:grid!important;position:fixed!important;z-index:99999!important;
    left:10px!important;right:10px!important;top:auto!important;
    bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;max-width:440px!important;min-width:0!important;
    height:auto!important;min-height:0!important;max-height:calc(100svh - 22px)!important;
    margin:0 auto!important;padding:13px!important;
    grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
    align-items:stretch!important;justify-items:stretch!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    border:1px solid #e5e8f2!important;border-radius:17px!important;
    background:#fff!important;color:#172143!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    filter:none!important;transform:none!important;text-shadow:none!important;
    box-shadow:0 14px 36px rgba(19,26,57,.2)!important;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
    font-size:13px!important;line-height:1.45!important;letter-spacing:0!important;
  }
  html body .analytics-consent > div:first-child {
    box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
    gap:4px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  }
  html body .analytics-consent > div:first-child > b {
    display:block!important;color:#142043!important;
    font-size:14px!important;font-weight:800!important;line-height:1.3!important;
    letter-spacing:0!important;text-shadow:none!important;
  }
  html body .analytics-consent > div:first-child > span {
    display:block!important;color:#647188!important;
    font-size:12px!important;font-weight:400!important;line-height:1.45!important;
    letter-spacing:0!important;text-shadow:none!important;
    white-space:normal!important;overflow-wrap:break-word!important;
  }
  html body .analytics-consent > div:last-child {
    box-sizing:border-box!important;display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;
    align-items:stretch!important;justify-content:stretch!important;
    width:100%!important;min-width:0!important;gap:7px!important;margin:0!important;padding:0!important;
  }
  html body .analytics-consent > div:last-child > button,
  html body .analytics-consent > div:last-child > a {
    box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
    justify-content:center!important;min-width:0!important;min-height:42px!important;
    margin:0!important;padding:8px 7px!important;border-radius:10px!important;
    font-size:11px!important;font-weight:700!important;line-height:1.25!important;
    white-space:normal!important;letter-spacing:0!important;text-align:center!important;
    text-decoration:none!important;
  }
  html body .analytics-consent > div:last-child > button[data-consent='denied'] {
    background:#f1f3f7!important;color:#46526b!important;
  }
  html body .analytics-consent > div:last-child > button[data-consent='granted'] {
    background:#6554f4!important;color:#fff!important;
  }
  html body .analytics-consent > div:last-child > a {
    background:transparent!important;color:#4a5773!important;
  }
}
@media screen and (max-width:345px) {
  html body .sg2853:not(.sg2853-compact) {padding:18px 12px!important;}
  html body .sg2853:not(.sg2853-compact) .sg2853-actions-main {grid-template-columns:1fr!important;}
  html body .analytics-consent > div:last-child {grid-template-columns:1fr 1fr!important;}
  html body .analytics-consent > div:last-child > a {grid-column:1/-1!important;min-height:30px!important;}
}
