/* ZayEl eSIM Hero Patch v76, desktop/mobile.
 * Keeps each country its own image. The six uploaded landmarks override
 * the old country photo on those particular pages; all other destination
 * pictures remain in place and get a global fallback if missing.
 */
:root{--zh-ink:#10234c;--zh-blue:#086bea;--zh-left:rgba(251,253,255,.98);--zh-mid:rgba(248,251,255,.93);--zh-right:rgba(244,249,255,.30)}

/* Hero base: consistent cover, sensible height, no repeating. */
html[data-zhero] .z64-hero,
html[data-zhero] .z68-hero,
html[data-zhero] .z66-hero,
html[data-zhero] .z69-hero,
html[data-zhero] .zrd-hero,
html[data-zhero] .z64-country-hero{
  background-position:right center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  overflow:hidden;
}

/* Homepage. Use a supplied branded photo with spacious left text area. */
html[data-zhero="home"] .z64-hero,
html[data-zhero="home"] .z66-hero,
html[data-zhero="home"] .z6-banner{
  background-image:linear-gradient(90deg,var(--zh-left) 0%,var(--zh-mid) 34%,rgba(248,251,255,.70) 56%,var(--zh-right) 88%),url('/hero-assets/global-home.webp')!important;
  background-size:cover!important;
  background-position:right center!important;
}

/* All eSIM plans / browse destinations. */
html[data-zhero="plans"] .z64-hero,
html[data-zhero="plans"] .z66-hero,
html[data-zhero="plans"] .z6-banner{
  background-image:linear-gradient(90deg,var(--zh-left) 0%,var(--zh-mid) 38%,rgba(248,251,255,.64) 63%,var(--zh-right) 100%),url('/hero-assets/global-plans.webp')!important;
  background-size:cover!important;
  background-position:right center!important;
}

/* Orders, order-status and delivered-installation page heroes. */
html[data-zhero="orders"] .z68-hero,
html[data-zhero="orders"] .z66-hero,
html[data-zhero="orders"] .z64-hero,
html[data-zhero="delivery"] .z69-hero,
html[data-zhero="delivery"] .z66-hero,
html[data-zhero="delivery"] .zrd-hero{
  background-image:linear-gradient(90deg,var(--zh-left) 0%,var(--zh-mid) 38%,rgba(248,251,255,.68) 68%,var(--zh-right) 100%),url('/hero-assets/global-orders.webp')!important;
  background-size:cover!important;
  background-position:right center!important;
}

/* About, Contact, other supporting pages and checkout. */
html[data-zhero="info"] .z66-hero,
html[data-zhero="info"] .z64-hero,
html[data-zhero="info"] .z6-subhero,
html[data-zhero="checkout"] .z66-hero,
html[data-zhero="checkout"] .z64-hero,
html[data-zhero="checkout"] .z6-subhero,
html[data-zhero="account"] .z67-account-image,
html[data-zhero="account"] .z66-hero{
  background-image:linear-gradient(90deg,rgba(252,253,255,.97) 0%,rgba(247,251,255,.89) 38%,rgba(247,251,255,.48) 72%,rgba(249,252,255,.19)),url('/hero-assets/global-world.webp')!important;
  background-size:cover!important;
  background-position:right center!important;
}

/* All country routes have a global fallback behind their existing image. */
html[data-zhero="country"] .z64-country-hero{
  background-image:linear-gradient(90deg,rgba(251,253,255,.97),rgba(251,253,255,.55)),url('/hero-assets/global-world.webp')!important;
  background-size:cover!important;
  background-position:center right!important;
}
html[data-zhero="country"] .z64-country-hero>.z64-shell{
  min-height:280px!important;
  background-size:cover!important;
  background-position:right center!important;
  background-repeat:no-repeat!important;
  position:relative;
  isolation:isolate;
}
/* Cover landmark images with a soft left white gradient, keeping all headings readable. */
html[data-zhero="country"] .z64-country-hero>.z64-shell::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(250,253,255,.91) 0%,rgba(250,253,255,.88) 30%,rgba(250,253,255,.44) 57%,rgba(250,253,255,.02) 100%);
}
html[data-zhero="country"] .z64-country-hero>.z64-shell>*{position:relative;z-index:1}
html[data-zhero="country"] .z64-country-hero h1,
html[data-zhero="country"] .z64-country-hero p,
html[data-zhero="country"] .z64-country-hero .z64-crumbs{
  color:var(--zh-ink)!important;
  text-shadow:0 1px 1px #ffffff92!important;
}

/* One distinctive, supplied photo for each explicitly mapped country. */
html[data-zhero-country="IT"] .z64-country-hero>.z64-shell{
  background-image:url('/hero-assets/italy-colosseum.webp')!important;
}
html[data-zhero-country="GB"] .z64-country-hero>.z64-shell{
  background-image:url('/hero-assets/united-kingdom-big-ben.webp')!important;
}
html[data-zhero-country="FR"] .z64-country-hero>.z64-shell{
  background-image:url('/hero-assets/france-eiffel.webp')!important;
}
html[data-zhero-country="US"] .z64-country-hero>.z64-shell{
  background-image:url('/hero-assets/united-states-statue-of-liberty.webp')!important;
}
html[data-zhero-country="JP"] .z64-country-hero>.z64-shell{
  background-image:url('/hero-assets/japan-fuji.webp')!important;
}
html[data-zhero-country="GH"] .z64-country-hero>.z64-shell{
  background-image:url('/hero-assets/ghana-independence-arch.webp')!important;
}
/* The old country page sometimes falls back to the homepage art; replace it
   with global travel art instead. Unique photos for other countries survive. */
html[data-zhero="country"]:not([data-zhero-country="IT"]):not([data-zhero-country="GB"]):not([data-zhero-country="FR"]):not([data-zhero-country="US"]):not([data-zhero-country="JP"]):not([data-zhero-country="GH"])
  .z64-country-hero>.z64-shell[style*="/marketing-image/home"]{
    background-image:url('/hero-assets/global-world.webp')!important;
}

/* Destination card images (six uploaded countries) preserve aspect and layout. */
html[data-zhero] a.z64-dest>img{object-fit:cover!important;object-position:center center!important;width:100%!important}

/* Pending orders: restore readability to the original dark-page card styles
   when the later white-theme page overlay is active. */
html[data-zhero="delivery"] body.z69-ready main.z66-delivery>.card,
html[data-zhero="delivery"] body.z69-ready main.z66-delivery>.zrd-overview{
  background:#fff!important;
  color:#1e3b60!important;
  border-color:#dfebfa!important;
}
html[data-zhero="delivery"] body.z69-ready main.z66-delivery>.card p,
html[data-zhero="delivery"] body.z69-ready main.z66-delivery>.card small,
html[data-zhero="delivery"] body.z69-ready main.z66-delivery>.card label,
html[data-zhero="delivery"] body.z69-ready main.z66-delivery>.zrd-overview p{
  color:#405d7e!important;
}
html[data-zhero="delivery"] body.z69-ready main.z66-delivery>.card h2,
html[data-zhero="delivery"] body.z69-ready main.z66-delivery>.zrd-overview h2{
  color:#122a53!important;
}

/* Mobile: keep the landmark/globe visible on right but prioritise readable text. */
@media(max-width:730px){
  html[data-zhero] .z64-hero,
  html[data-zhero] .z68-hero,
  html[data-zhero] .z66-hero,
  html[data-zhero] .z69-hero,
  html[data-zhero] .zrd-hero,
  html[data-zhero] .z6-banner{
    background-position:70% center!important;
    background-size:cover!important;
  }
  html[data-zhero="country"] .z64-country-hero>.z64-shell{
    min-height:230px!important;
    background-position:69% center!important;
    padding-top:24px!important;
    padding-bottom:24px!important;
  }
  html[data-zhero="country"] .z64-country-hero>.z64-shell::before{
    background:linear-gradient(90deg,rgba(250,253,255,.96) 0%,rgba(250,253,255,.92) 37%,rgba(250,253,255,.65) 67%,rgba(250,253,255,.20) 100%);
  }
  html[data-zhero="country"] .z64-country-hero h1{font-size:clamp(29px,7vw,40px)!important;line-height:1.12!important;max-width:100%!important}
  html[data-zhero="country"] .z64-country-hero p{font-size:13px!important;max-width:98%!important}
  html[data-zhero="country"] .z64-country-hero>.z64-shell>*{max-width:100%;overflow-wrap:break-word}
  html[data-zhero="delivery"] body.z69-ready .z69-hero .z69-inner{padding-top:33px!important}
}
@media(prefers-reduced-motion:reduce){html[data-zhero] .z64-dest{transition:none!important}}


/* ZayEl 2026 compact mobile layout */
.z64-footer{background:#eef6ff!important;border-top:1px solid #dce8f8!important;padding:22px 0 calc(22px + env(safe-area-inset-bottom,0px))!important}
.z64-footer .z64-shell{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:22px!important;align-items:start!important}
.z64-footer b{color:#19365d!important;font-size:14px!important;white-space:nowrap!important}
.z64-footer span{display:flex!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:10px 15px!important}
.z64-footer a{margin:0!important;font-size:12px!important;white-space:nowrap!important;color:#526e8e!important;line-height:1.5!important}
.z64-footer a[href="/account/refunds"],.z64-head .z64-actions>a.z89-headerchip[data-z65="nav-search"]{display:none!important}
.z64-feature{min-width:0!important;min-height:0!important;overflow:hidden!important;border-radius:15px!important;border:1px solid #dce8f6!important;background:#fff!important;box-shadow:0 5px 18px #1c477714!important}
.z64-feature img.z96-photo{display:block!important;width:calc(100% + 30px)!important;max-width:calc(100% + 30px)!important;height:92px!important;object-fit:cover!important;object-position:center!important;margin:-15px -15px 12px!important;background:#e9f4ff!important}
.z64-feature h3{font-size:13px!important;line-height:1.4!important;color:#142d54!important}
.z64-feature .data{line-height:1.15!important}
.z64-feature strong{line-height:1.25!important;overflow-wrap:anywhere!important}
.z64-feature small{line-height:1.5!important;color:#647d9a!important}
.z64-feature .z64-btn{display:flex!important;justify-content:center!important;align-items:center!important;min-height:42px!important;border-radius:10px!important}
@media(max-width:730px){
.z64-footer .z64-shell{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;padding:0 17px!important}
.z64-footer span{justify-content:flex-start!important;gap:8px 15px!important}
.z64-featuregrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.z64-feature{padding:12px!important}
.z64-feature img.z96-photo{width:calc(100% + 24px)!important;max-width:calc(100% + 24px)!important;height:77px!important;margin:-12px -12px 12px!important}
.z64-feature h3{font-size:12px!important}
.z64-feature strong{font-size:18px!important}
.z64-feature small{font-size:10px!important}
.z64-feature .z64-btn{font-size:11px!important;min-height:40px!important}
body.z76-country-page .z76-benefits{gap:9px!important}
body.z76-country-page .z76-benefit{padding:13px 11px!important;display:flex!important;flex-direction:column!important;gap:8px!important}
body.z76-country-page .z76-benefit-icon{height:36px!important;width:36px!important}
}

/* ZayEl country layout v97 - every country */
html[data-zhero="country"] body.z76-country-page .z76-country-intro .z64-search,
html[data-zhero="country"] body.z76-country-page .z76-hero-points,
html[data-zhero="country"] body.z76-country-page .z76-pricing-note,
html[data-zhero="country"] body.z76-country-page .z76-why-panel{display:none!important}
html[data-zhero="country"] body.z76-country-page .z76-country-hero>.z76-hero-shell{min-height:0!important}
html[data-zhero="country"] body.z76-country-page .z76-country-intro{padding-top:25px!important;padding-bottom:20px!important}
html[data-zhero="country"] body.z76-country-page .z76-country-intro>p{margin-bottom:10px!important}
html[data-zhero="country"] body.z76-country-page .z76-country-main{padding-top:15px!important}
@media(max-width:780px){html[data-zhero="country"] body.z76-country-page .z76-country-hero{min-height:0!important}html[data-zhero="country"] body.z76-country-page .z76-country-hero>.z76-hero-shell{min-height:0!important}html[data-zhero="country"] body.z76-country-page .z76-country-intro{padding-top:18px!important;padding-bottom:14px!important}html[data-zhero="country"] body.z76-country-page .z76-country-intro>p{margin-bottom:6px!important}html[data-zhero="country"] body.z76-country-page .z76-country-main{padding-top:10px!important}}
