/* ==========================================================================
   eSIM store (esim.036760602.net) in the globalex.co.il design.

   A LAYER over esim/styles.css, loaded after it and before a11y.css:
   - the server-rendered markup, the scripts (checkout, manage, help, device
     check, tier tips) and the visual editor are untouched;
   - text colours go through the store's own tokens, so the accessibility menu's
     high-contrast mode keeps working; type sizes are rem, so text sizing does;
   - remove the <link> to this file and the store is exactly as before.
   Design values are the main site's: navy #182c3c, orange #f4743c, peach bands,
   5px buttons, blob shapes, rounded cards and the navy footer with the G.
   ========================================================================== */

:root {
  --gx-navy: #182c3c;
  --gx-navy-deep: #132331;
  --gx-orange: #f4743c;          /* fills, icons, rules */
  --gx-orange-btn: #e9662d;      /* button fill; button text is bold 19px, so 3:1 is AA (large text) */
  --gx-peach: #f5dfd5;
  --gx-peach-soft: #f5e9e3;
  --gx-peach-blob: #f7ece6;
  --gx-grey: #f7f7f7;

  /* the store's own tokens, re-pointed (a11y.css still overrides --ink/--muted/--border/--border-strong) */
  --navy-950: #182c3c;
  --navy-900: #182c3c;
  --navy-800: #1f3547;
  --orange: #a8430f;             /* orange that carries text: 5.6:1 on white */
  --orange-bright: #f4743c;
  --orange-wash: #f5e9e3;
  --bg-alt: #f7f7f7;
  --ink: #182c3c;
  --muted: #4d5b67;
  --border: #e6e1dd;
  --focus: #182c3c;
  --radius: 22px;
  --radius-lg: 30px;
  --max-width: 1240px;
}

/* ---------- buttons: 5px corners, bold 19px on the bright orange ---------- */
.btn { border-radius: 5px; font-weight: 700; font-size: 1.1875rem; line-height: 1.1; padding: 0.8rem 1.75rem; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn-primary { background: var(--gx-orange-btn); color: #fff; }
.btn-primary:hover { background: var(--gx-navy); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(24,44,60,.15); }
/* small buttons keep normal-size text, so they use the AA text orange */
.btn-small, .faq-answer .btn-small { font-size: 1rem; }
.btn-small.btn-primary { background: var(--orange); }
.btn-small.btn-primary:hover { background: var(--gx-navy); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--gx-orange); }
.btn-ghost:hover { background: var(--gx-orange); color: #fff; border-color: var(--gx-orange); }
.btn-on-light { border-color: var(--gx-orange); }
.btn-on-light:hover { background: var(--gx-orange); color: #fff; }
.btn-disabled, .btn-disabled:hover { background: var(--bg-alt); color: var(--muted); border-color: var(--border-strong); transform: none; box-shadow: none; }

/* ---------- admin preview banner (only an admin ever sees it) ---------- */
.preview-banner { background: var(--gx-navy); border-bottom: 3px solid var(--gx-orange); }

/* ---------- header: white, navy menu, orange underline ---------- */
.site-header { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(24,44,60,.06); position: relative; z-index: 20; }
.header-inner { padding-block: 0.9rem; min-height: 5.5rem; }
.brand-logo { height: auto; width: 190px; max-width: 46vw; }
.brand-product { color: var(--orange); border-inline-start: 2px solid var(--border); padding-inline-start: 10px; font-weight: 700; font-size: 1.25rem; }
.nav { margin-inline: auto; }
.nav a { color: var(--ink); font-size: 1.0625rem; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0.25rem; bottom: 0.45rem; height: 3px; background: var(--gx-orange); transform: scaleX(0); transition: transform .2s; }
.nav a:hover { color: var(--orange); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.help-toggle { background: #fff; color: var(--ink); border: 1.5px solid var(--gx-orange); border-radius: 5px; }
.help-toggle svg { color: var(--gx-orange); }
.help-toggle:hover { background: var(--gx-orange); color: #fff; }
.help-toggle:hover svg { color: #fff; }
.lang-toggle { color: var(--ink); border: 1.5px solid var(--border-strong); }
.lang-toggle:hover { background: #fff; color: var(--orange); border-color: var(--gx-orange); }

/* ---------- hero: white, network lines, peach blob behind the picture ---------- */
.hero { background: #fff url(/assets/brand/gx-lines.webp) center/cover no-repeat; color: var(--ink); position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.65); pointer-events: none; }
.hero > * { position: relative; }
.hero h1 { color: var(--ink); font-size: clamp(2rem, 4.2vw, 3.375rem); }
.hero-sub { color: var(--ink); font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.75; }
.hero-note { color: var(--muted); }
.eyebrow { color: var(--orange); background: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: 0; padding: 0; }
.hero :focus-visible { outline-color: var(--gx-navy); }
.hero-figure { position: relative; display: flex; justify-content: center; }
.hero-figure::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(400px, 80vw); aspect-ratio: 400 / 430; background: var(--gx-peach-blob); border-radius: 200px 70px 200px 200px; }
.hero-figure img { position: relative; }

/* ---------- sections ---------- */
.section-alt { background: var(--gx-grey) url(/assets/brand/gx-lines.webp) center/cover no-repeat; }
.section > .wrap > h2, .section > .wrap-narrow > h2 { font-size: clamp(1.875rem, 3.6vw, 2.875rem); }
.section-sub { font-size: 1.1875rem; }

/* value cards: the main site's feature card with the peach blob */
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 30px; box-shadow: none; padding: 1.75rem 1.5rem; }
.value-card::before { content: ""; display: block; width: 64px; height: 68px; margin-bottom: 1rem; border-radius: 32px 12px 32px 32px; background: var(--gx-peach-blob) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4743c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/30px no-repeat; }
.value-card h3 { color: var(--ink); }
.value-card p { color: var(--muted); }

/* destinations */
.dest-link { border: 1px solid var(--border); border-radius: 22px; background: #fff; color: var(--ink); transition: border-color .2s, transform .2s; }
.dest-link:hover { border-color: var(--gx-orange); transform: translateY(-3px); background: #fff; }
.dest-name { color: var(--ink); }
.dest-price strong { color: var(--orange); }

/* plans */
.plan-card { background: #fff; border: 1px solid var(--border); border-radius: 30px; box-shadow: none; transition: transform .2s, box-shadow .2s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(24,44,60,.09); }
.plan-card.is-featured { border-color: var(--border); box-shadow: inset 0 5px 0 var(--gx-orange); }
.plan-card.is-featured:hover { box-shadow: inset 0 5px 0 var(--gx-orange), 0 16px 34px rgba(24,44,60,.09); }
.plan-badge { background: var(--gx-orange-btn); color: #fff; }
.plan-name { color: var(--ink); }
.plan-specs li { border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.plan-amount { color: var(--ink); font-weight: 800; }
.plan-relocation { background: var(--gx-peach-soft); color: var(--orange); border-radius: 12px; padding: 0.45rem 0.75rem; }
.tier-name { background: var(--gx-peach-soft); color: var(--orange); }
.tier-tip { background: var(--gx-navy); color: #fff; border-radius: 16px; }
.tier-tip-title { color: var(--gx-orange); }

/* device check */
.device-check { background: var(--gx-peach-soft); border: 0; border-radius: 30px; }
.field { border-radius: 30px; }
.device-check .field, .help-search .field { background: #fff; }

/* how it works: orange numbered circles joined by a dashed line */
.step-num { background: var(--gx-orange); color: #fff; }

/* FAQ */
.faq-item { border-color: var(--border); }
.faq-item summary { color: var(--ink); }
.faq-item summary::marker, .faq-item summary::after { color: var(--gx-orange); }

/* support strip: the main site's navy band with the G */
.support-strip { background: #fff; }
.support-strip-inner { background: var(--gx-navy); border: 0; border-radius: 30px; padding: 2.75rem 3rem; color: #fff; position: relative; overflow: hidden; }
.support-strip-inner::before { content: ""; position: absolute; inset-inline-end: -60px; top: -80px; width: 300px; height: 300px; background: url(/assets/brand/gx-g.webp) center/contain no-repeat; opacity: .07; pointer-events: none; }
.support-strip-inner > * { position: relative; }
.support-strip-inner h2 { color: #fff; }
.support-strip-inner p { color: #d6dde3; }
.support-strip .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.support-strip .btn-ghost:hover { background: #fff; color: var(--gx-navy); border-color: #fff; }

/* cross-sell: a peach band */
.cross-sell { background: var(--gx-peach); color: var(--ink); text-align: center; }
.cross-sell h2 { color: var(--ink); }
.cross-sell p { color: var(--ink); margin-inline: auto; }

/* help centre, checkout, manage: cards and chips follow the same shapes */
.help-tile, .issue-tile, .manage-item, .guide, .pay-box, .wizard-summary { border-radius: 22px; }
.help-tile:hover, .issue-tile:hover { border-color: var(--gx-orange); }
.topic-chip { border-radius: 30px; }
.topic-chip[aria-pressed="true"] { background: var(--gx-navy); border-color: var(--gx-navy); color: #fff; }
.wizard-progress li[aria-current="step"] .wizard-progress-num { background: var(--gx-orange-btn); border-color: var(--gx-orange-btn); color: #fff; }

/* ---------- footer: navy with the G watermark ---------- */
.site-footer { background: var(--gx-navy) url(/assets/brand/gx-g.webp) no-repeat; background-size: 520px; background-position: left 15% top -40px; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(24,44,60,.78); pointer-events: none; }
.site-footer > * { position: relative; }
.footer-title { color: #fff; }
.footer-list a:hover { color: var(--gx-orange); }
.footer-company a { color: #ffb38f; }

/* ---------- phone ---------- */
@media (max-width: 720px) {
  .header-inner { min-height: 0; }
  .brand-logo { width: 150px; }
  .nav a::after { bottom: 0.3rem; }
  .support-strip-inner { padding: 2rem 1.5rem; }
}
