@import url("/tokens.css?v=1.31.2");
/* cairo-arabic-wght-normal */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/assets/fonts/cairo-arabic-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1,
    U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF,
    U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4,
    U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24,
    U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47,
    U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59,
    U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A,
    U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89,
    U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* cairo-latin-ext-wght-normal */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/assets/fonts/cairo-latin-ext-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* cairo-latin-wght-normal */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/assets/fonts/cairo-latin-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* LINE UI: one base cascade, component rules, then responsive and motion rules.
   Payment SDK internals are styled through Pixel customStyle, never global overrides. */
:root {
  --green: var(--line-green);
  --ink: var(--line-ink);
  --muted: #626d59;
  --line: #e4e9df;
  --soft: #f6f8f2;
  --surface: #fff;
  --radius: 20px;
  --font: Cairo, Tahoma, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  padding-bottom: 106px;
  background: #fff;
  color: var(--ink);
  font: 14px var(--font);
}
[hidden] {
  display: none !important;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #6c8c40;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.65;
}
h1,
h2,
p {
  margin: 0;
}
h2 {
  font-size: 18px;
  line-height: 1.6;
}
/* Cairo's self-hosted Latin face preserves the same identity in all languages. */
/* Header and fixed brand asset crop. */
.top {
  max-width: 1056px;
  height: 78px;
  padding: 0 28px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  width: 88px;
  height: 44px;
  flex-shrink: 0;
}
.brand img {
  position: absolute;
  width: 295.7px;
  max-width: none;
  left: -17.3px;
  top: -14.1px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.secure {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}
.secure i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6c982d;
}
.header-actions .select-trigger {
  width: auto;
  flex-shrink: 0;
  min-width: 110px;
  min-height: 40px;
  font-size: 12px;
  padding: 8px 12px;
}
.app-shell {
  max-width: 840px;
  padding: 0 24px;
  margin: auto;
}
.intro {
  position: relative;
  padding: 26px 0 22px;
  line-height: 1.5;
}
.eyebrow {
  font:
    600 11px Arial,
    sans-serif;
  letter-spacing: 0.5px;
  color: #79866a;
}
.intro > .eyebrow {
  display: inline-block;
}
.intro h1 {
  font-size: 38px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 10px 0 4px;
}
.intro p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.trust-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #626d59;
  margin-top: 12px;
}
.trust-note > span:first-child {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #eef5e1;
  color: #617e38;
}
.brand-path {
  position: absolute;
  width: 180px;
  inset-inline-end: 10px;
  top: 56px;
}
.brand-path svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.brand-path path {
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-path .track {
  stroke: #e4eadb;
  stroke-width: 3;
}
.brand-path .trail {
  stroke: var(--green);
  stroke-width: 2;
}
.brand-path .gate {
  stroke: #8da965;
  stroke-width: 2;
}
.brand-path .traveler {
  fill: var(--ink);
}
/* Market and welcome. */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.market-welcome {
  padding: 22px;
  margin: 0 0 22px;
  background: #f4f8eb;
  border: 1px solid #e3eccf;
  border-radius: 18px;
}
.welcome-heading {
  display: flex;
  gap: 18px;
  align-items: center;
}
.welcome-heading svg {
  width: 76px;
  flex-shrink: 0;
}
.welcome-heading h2 {
  font-size: 18px;
}
.welcome-heading p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 5px;
  color: #72805f;
}
.welcome-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.welcome-markets button {
  background: white;
  border: 1px solid #dce5cf;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 12px;
  color: #334423;
}
.needs-market .packages,
.needs-market .mobile-bar,
.needs-market .market-summary,
.needs-market .header-actions .select-trigger,
.needs-market .language-picker {
  display: none;
}
.resume-order {
  max-width: 792px;
  margin: 10px auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f3f7eb;
  border: 1px solid #e2eacc;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.8;
}
.resume-order a {
  margin-inline-start: auto;
}
.resume-order button {
  background: none;
  border: 0;
  font-size: 23px;
  color: #68795a;
  min-width: 32px;
  min-height: 32px;
}
.welcome-language {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e9d2;
}
.welcome-language h2 {
  font-size: 12px;
  font-weight: 600;
  color: #72805f;
  margin-bottom: 10px;
}
.welcome-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.welcome-languages button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #dce5cf;
  border-radius: 10px;
  background: #fff;
  color: #68785a;
  font-size: 12px;
}
.welcome-languages button[aria-pressed="true"],
.welcome-markets button[aria-pressed="true"] {
  border-color: #78964e;
  box-shadow: 0 0 0 1px #78964e;
  background: #fafff2;
  color: #2d421d;
}
.welcome-actions {
  display: none;
}
.needs-market .welcome-actions:not([hidden]) {
  display: flex;
  justify-content: flex-end;
  margin: -6px 0 26px;
}
.welcome-actions .pay-button {
  min-width: 180px;
}
.language-heading {
  margin-bottom: 14px;
}
.welcome-language .language-heading h2 {
  font-size: 18px;
  color: var(--ink);
  margin: 0;
}
.welcome-languages button,
.welcome-markets button {
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.summary #summary-market,
.summary #payment-market {
  direction: inherit;
  unicode-bidi: normal;
  font-size: 11px;
}
.welcome-hint {
  font-size: 11px;
  color: #7a886b;
  line-height: 1.8;
  margin-top: 12px;
}
.welcome-hint:empty {
  display: none;
}
.market-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid #e8eddf;
  margin-bottom: 24px;
  font-size: 12px;
  color: #667b4e;
}
.market-summary button {
  background: none;
  border: 0;
  padding: 8px 0;
  min-height: 36px;
  font-size: 11px;
  color: #626d59;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Plans. All card states use the same geometry. */
.workspace {
  display: block;
}
.packages.panel {
  padding: 0;
  border: 0;
  background: transparent;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.section-heading p {
  font-size: 11px;
  color: #626d59;
  line-height: 1.8;
  margin-top: 3px;
}
.step,
.table-heading,
.currencies {
  display: none;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 132px;
  padding: 24px 18px 18px;
  gap: 14px;
  border: 1px solid #dfe6d7;
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  text-align: start;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 4px 12px #192a0903;
}
.package::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 70px;
  height: 70px;
  border-bottom: 1px solid #eef2e7;
  border-inline-end: 1px solid #eef2e7;
  border-radius: 0 0 26px 0;
  transform: translate(-18px, -26px);
  z-index: -1;
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-direction: row-reverse;
}
.quantity {
  font: 800 29px/1.2 var(--font);
  letter-spacing: -0.7px;
  direction: ltr;
  unicode-bidi: isolate;
}
.selected-dot {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid #d4dec9;
  border-radius: 50%;
  font:
    700 11px Arial,
    sans-serif;
  font-style: normal;
  flex-shrink: 0;
}
.amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  direction: ltr;
  unicode-bidi: isolate;
  align-self: flex-start;
  color: #536044;
  font: 600 18px/1.5 var(--font);
  font-variant-numeric: tabular-nums;
}
.amount small {
  font:
    500 10px Arial,
    sans-serif;
  color: #626d59;
  letter-spacing: 0.3px;
}
.plan-badge {
  position: absolute;
  top: 0;
  inset-inline-start: 18px;
  font-size: 10px;
  line-height: 1.5;
  padding: 3px 8px;
  background: #eaf1de;
  color: #5b713e;
  border-radius: 0 0 6px 6px;
  max-width: calc(100% - 32px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
}
.value-badge {
  background: #edf0e8;
  color: #5c6852;
}
.package.is-recommended {
  border-color: #bfcea9;
}
.package[aria-pressed="true"] {
  border-color: #75934e;
  background: #f7fbea;
  box-shadow:
    0 0 0 1px #75934e,
    0 6px 18px #4157190a;
}
.package[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--green);
}
.package[aria-pressed="true"] .selected-dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--green);
}
.package[aria-pressed="true"] .selected-dot::after {
  content: "✓";
}
.package[aria-pressed="true"] .amount {
  color: #31461d;
}
.more-plans {
  display: block;
  margin: 18px auto 0;
  min-height: 42px;
  padding: 9px 17px;
  background: #f0f3e9;
  color: #54683a;
  border: 0;
  border-radius: 10px;
  font-size: 11px;
}
.small-plans {
  background: none;
  border: 1px dashed #d9e3cd;
  min-width: 220px;
  margin-top: 10px;
}
.small-plans::after {
  content: "+";
  font:
    16px Arial,
    sans-serif;
  margin-inline-start: 12px;
}
.small-plans[aria-expanded="true"]::after {
  content: "−";
}
.small-package-grid {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}
.small-package-grid .package {
  min-height: 130px;
  background: #fcfdf9;
}
.small-package-grid .quantity {
  font-size: 24px;
}
.selected-feedback {
  font-size: 10px;
  color: #6a8050;
  margin-top: 14px;
}
.selected-feedback:empty,
#plan-message:empty {
  display: none;
}
#plan-message {
  font-size: 12px;
  color: #9a4035;
  line-height: 1.8;
  margin-top: 12px;
}
/* One stage and one primary action at a time. */
.workspace > .checkout {
  display: none;
}
.mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(24px, calc((100vw - 744px) / 2))
    calc(12px + env(safe-area-inset-bottom));
  background: #ffffffed;
  backdrop-filter: blur(16px);
  border-top: 1px solid #e6ebdf;
}
.mobile-bar small {
  display: block;
  font-size: 10px;
  color: #626d59;
}
.mobile-bar strong {
  display: block;
  font: 700 23px/1.6 var(--font);
  direction: ltr;
}
.mobile-bar button,
.pay-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.mobile-bar button {
  min-width: 190px;
}
.mobile-bar button:disabled,
.pay-button:disabled {
  background: #cfd4c9;
  border-color: #cfd4c9;
  color: #fff;
  opacity: 1;
}
.payment-view {
  padding-bottom: 22px;
}
.payment-view .intro,
.payment-view .market-summary,
.payment-view .market-welcome,
.payment-view .packages,
.payment-view .mobile-bar {
  display: none;
}
.payment-view .workspace > .checkout {
  display: block;
  max-width: 540px;
  margin: 0 auto;
  padding: 26px;
}
.payment-view #selection-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 540px;
  margin: 12px auto 18px;
}
.payment-view #selection-caption {
  font:
    600 12px Arial,
    sans-serif;
  direction: ltr;
}
#back-to-plans {
  min-height: 40px;
  padding: 8px 0;
  background: none;
  border: 0;
  color: #69804e;
  font-size: 12px;
}
.contact-fields {
  display: grid;
  gap: 8px;
}
.contact-fields label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
}
.contact-fields small {
  font-size: 10px;
  line-height: 1.7;
  color: #626d59;
}
.contact-fields input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid #dfe6d6;
  border-radius: 10px;
  font-size: 16px;
  color: var(--ink);
}
.contact-fields input::placeholder {
  color: #a1aa97;
}
.phone-field {
  display: flex;
  gap: 8px;
  direction: ltr;
  align-items: stretch;
}
.phone-field .select-trigger {
  width: 124px;
  flex-shrink: 0;
  min-width: 0;
  padding: 8px 10px;
  font: 13px Arial;
}
.phone-field input {
  flex: 1;
}
.contact-fields input[aria-invalid="true"] {
  border-color: #b85a4d;
  background: #fffaf8;
}
.field-error {
  color: #a1473b;
  font-size: 11px;
  line-height: 1.7;
}
.field-error:empty {
  display: none;
}
.summary {
  margin-top: 22px;
  padding: 18px;
  background: #f5f7f0;
  border: 1px solid #ebf0e1;
  border-radius: 14px;
}
.summary > div {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  font-size: 12px;
}
.summary > div > span {
  flex: 1 1 56px;
  min-width: 0;
}
.summary span {
  color: #626d59;
}
.summary b {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.summary .total {
  border-top: 1px solid #dfe7d3;
  margin-top: 10px;
  padding-top: 14px;
}
.summary .total span {
  color: var(--ink);
  font-weight: 700;
}
.summary .total b {
  font-size: 25px;
  color: var(--ink);
}
.fx-note,
#quote-validity {
  font-size: 10px;
  line-height: 1.9;
  color: #626d59;
  margin-top: 10px;
}
.fee-explanation,
.fine {
  font-size: 10px;
  line-height: 1.9;
  color: #626d59;
  margin-top: 12px;
}
#checkout .pay-button {
  width: 100%;
  margin-top: 15px;
}
#message,
#payment-message {
  font-size: 12px;
  line-height: 1.9;
  color: #a1473b;
  overflow-wrap: anywhere;
}
#message:not(:empty),
#payment-message:not(:empty) {
  padding: 10px 12px;
  background: #fcf5f1;
  border-radius: 9px;
  margin-top: 12px;
}
.payment-active #checkout,
.payment-active #selection-review {
  display: none;
}
.payment-active .workspace > .checkout {
  border: 0;
  background: transparent;
  padding-top: 6px;
}
.payment-active .provider-heading {
  display: none;
}
.provider-summary {
  margin: 0 0 10px;
  background: #f4f7ed;
}
.provider-summary > div:first-child {
  font-size: 11px;
}
.provider-summary .total {
  border: 0;
  margin: 0;
  padding-top: 5px;
}
.payment-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 16px;
}
.payment-links a {
  padding: 8px 0;
  min-height: 44px;
  color: #626d59;
}
.payment-trust {
  font-size: 10px;
  line-height: 1.8;
  color: #7f8974;
  text-align: center;
  margin: 12px 0;
}
#paymob-elements {
  width: 100%;
  min-width: 0;
  overflow: visible;
}
#actual-charge {
  margin: 8px 0 14px;
  text-align: center;
}
.payment-view footer {
  max-width: 540px;
  margin-inline: auto;
}
/* Native selects have a complete fallback. Enhanced selectors use this dialog. */
select {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  width: 100%;
}
.select-trigger {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  text-align: start;
  font-size: 14px;
}
.select-trigger svg {
  flex-shrink: 0;
  color: #869577;
}
.select-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: 80dvh;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 90px #0d111726;
  font: 14px var(--font);
  overflow: hidden;
}
.select-dialog::backdrop {
  background: #0d111740;
  backdrop-filter: blur(4px);
}
.picker-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid #edf0e7;
}
.picker-heading h2 {
  font-size: 16px;
}
.picker-close {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border: 0;
  background: #f2f5eb;
  border-radius: 50%;
  font:
    24px Arial,
    sans-serif;
  color: #647454;
}
.picker-search {
  display: block;
  width: calc(100% - 24px);
  height: 44px;
  margin: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  background: #fafbf7;
}
.picker-options {
  padding: 8px;
  overflow: auto;
  max-height: calc(80dvh - 154px);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cbd5be transparent;
}
.picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  width: 100%;
  padding: 11px 12px;
  background: none;
  border: 0;
  border-radius: 10px;
  color: #39492b;
  font: 14px var(--font);
  text-align: start;
}
.picker-option[aria-selected="true"] {
  background: #f0f6e5;
  font-weight: 700;
}
.option-check {
  min-width: 20px;
  color: #68843e;
}
.picker-open {
  overflow: hidden;
}
.picker-empty {
  padding: 18px;
  color: #7b886d;
  font-size: 12px;
}
.status-feedback {
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
  color: #627d45;
  margin-top: 12px;
}
.status-feedback:empty,
.status-error:empty {
  display: none;
}
.status-error {
  font-size: 12px;
  line-height: 1.9;
  color: #a1473b;
  background: #fcf5f1;
  border: 1px solid #f1e0d9;
  padding: 11px 14px;
  border-radius: 10px;
  margin-top: 12px;
}
.status-meta {
  font-size: 10px;
  line-height: 1.9;
  color: #626d59;
  text-align: center;
  margin-top: 10px;
}
.receipt-body[data-checking="true"] #refresh-status::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
}
.receipt-body[data-checking="true"] #refresh-status::before {
  animation: waiting-spin 0.8s linear infinite;
}
.receipt-ref b {
  font-size: 11px;
  line-height: 1.8;
}
.receipt-hero .eyebrow {
  direction: ltr;
  unicode-bidi: isolate;
}
.receipt-details #receipt-date {
  font-variant-numeric: tabular-nums;
  white-space: normal;
}
/* Quiet footer; provider attribution stays visible. */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 20px;
  color: #626d59;
  font-size: 9px;
}
footer span:first-child {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: Arial;
}
footer span[data-i18n] {
  display: none;
}
footer a {
  font:
    9px Arial,
    sans-serif;
  text-underline-offset: 3px;
}
/* Receipt component. */
.receipt-body {
  padding-bottom: 24px;
}
.receipt-shell {
  max-width: 540px;
  margin: auto;
  padding: 12px 24px 24px;
}
.receipt-hero {
  text-align: center;
  padding: 4px 0 18px;
}
.receipt-animation {
  width: 156px;
  height: 78px;
  margin: 0 auto 4px;
}
.receipt-animation svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.receipt-track {
  stroke: #e4ebda;
  stroke-width: 5;
  stroke-linecap: round;
}
.receipt-trail {
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
}
.receipt-gate {
  stroke: #b9cba2;
  stroke-width: 2;
}
.receipt-orbit {
  fill: #f5f8ef;
  stroke: #dce6ce;
  stroke-width: 1.5;
}
.receipt-check,
.receipt-cross {
  display: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.receipt-check {
  stroke: #456b1f;
  stroke-dasharray: 50;
  stroke-dashoffset: 0;
}
.receipt-cross {
  stroke: #a34c3d;
}
.receipt-wait {
  stroke: #718657;
  stroke-width: 2;
  stroke-dasharray: 26 106;
  transform-origin: 132px 58px;
}
.receipt-hero h1 {
  font-size: 25px;
  margin: 8px 0;
}
.receipt-hero p {
  font-size: 12px;
  line-height: 1.9;
  color: #626d59;
  max-width: 460px;
  margin: auto;
}
.receipt-details {
  padding: 20px;
}
.receipt-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.receipt-heading h2 {
  font-size: 16px;
}
.receipt-provider {
  font:
    600 13px Arial,
    sans-serif;
  color: #626d59;
}
.receipt-ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px;
  margin: 16px 0 12px;
  background: #f4f7ed;
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.8;
}
.receipt-ref b {
  font:
    500 10px Arial,
    sans-serif;
  direction: ltr;
  overflow-wrap: anywhere;
  user-select: all;
}
.receipt-ref button {
  background: none;
  border: 0;
  padding: 4px 0;
  min-height: 28px;
  font-size: 10px;
  color: #54683a;
  text-decoration: underline;
}
.receipt-details dl {
  margin: 0;
}
.receipt-details dl > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #eff2e9;
  font-size: 12px;
}
.receipt-details dt {
  color: #626d59;
  line-height: 1.7;
}
.receipt-details dd {
  margin: 0;
  max-width: 62%;
  text-align: end;
  direction: ltr;
  font: 600 13px/1.7 var(--font);
  overflow-wrap: anywhere;
}
.receipt-details .receipt-total {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed #dce5cf;
  border-bottom: 0;
}
.receipt-total dt {
  color: var(--ink);
  font-weight: 700;
}
.receipt-details .receipt-total dd {
  font-size: 24px;
}
.receipt-sar dt,
.receipt-details .receipt-sar dd {
  font-size: 10px;
}
.receipt-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.receipt-actions .pay-button {
  font-size: 12px;
  min-width: 150px;
}
.receipt-actions #new-order,
.receipt-actions #refresh-status {
  background: #f3f6ed;
  border-color: #e0e7d5;
  color: #5c7440;
}
.receipt-next {
  padding: 0;
  font-size: 11px;
  color: #64705b;
  line-height: 1.8;
  margin: 14px 0 0;
  text-align: center;
}
.receipt-body[data-result="paid"] .receipt-check,
.receipt-body[data-result="failed"] .receipt-cross {
  display: block;
}
.receipt-body[data-result="paid"] .receipt-wait,
.receipt-body[data-result="failed"] .receipt-wait {
  display: none;
}
.receipt-body[data-result="paid"] .receipt-orbit {
  fill: #eff8e1;
  stroke: #c7dfa7;
}
.receipt-body[data-result="paid"] .receipt-trail {
  stroke-dashoffset: 0;
}
.receipt-body[data-result="failed"] .receipt-orbit {
  fill: #fbf2ef;
  stroke: #e7cfc9;
}
.receipt-body[data-result="review"] .receipt-wait,
.receipt-body[data-result="refunded"] .receipt-wait,
.receipt-body[data-result="voided"] .receipt-wait {
  stroke-dasharray: 3 7;
  stroke: #99866c;
}
.is-creating #pay::after,
.sdk-loading #payment-message::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  margin-inline: 8px;
}
/* Responsive geometry. */
@media (hover: hover) {
  .package:hover:not(:disabled) {
    border-color: #a3b987;
    transform: translateY(-2px);
    box-shadow: 0 9px 20px #31451a08;
  }
  .picker-option:hover {
    background: #f5f8ef;
  }
  .welcome-markets button:hover {
    border-color: #9eb780;
  }
}
@media (max-width: 760px) {
  body {
    background: #fff;
    padding-bottom: 100px;
  }
  .top {
    height: 66px;
    padding: 0 20px;
  }
  .brand {
    width: 76px;
    height: 38px;
  }
  .brand img {
    width: 255.4px;
    left: -14.9px;
    top: -12.2px;
  }
  .header-actions {
    gap: 10px;
  }
  .secure {
    font-size: 9px;
  }
  .header-actions .select-trigger {
    min-width: 88px;
    min-height: 36px;
    font-size: 11px;
    padding: 7px 9px;
  }
  .app-shell {
    padding: 0 20px;
  }
  .intro {
    padding: 18px 0 16px;
  }
  .intro h1 {
    font-size: 29px;
  }
  .intro p {
    font-size: 11px;
    max-width: 75%;
  }
  .eyebrow {
    font-size: 9px;
  }
  .trust-note {
    font-size: 9px;
    margin-top: 9px;
  }
  .brand-path {
    width: 90px;
    top: 47px;
    inset-inline-end: 0;
  }
  .packages.panel {
    padding: 0;
  }
  .section-heading {
    margin-bottom: 16px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .package {
    min-height: 118px;
    padding: 24px 14px 15px;
    gap: 13px;
    border-radius: 14px;
  }
  .quantity {
    font-size: 26px;
  }
  .amount {
    font-size: 16px;
    gap: 5px;
  }
  .amount small {
    font-size: 9px;
  }
  .selected-dot {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
  .plan-badge {
    inset-inline-start: 14px;
    font-size: 9px;
    padding: 3px 7px;
  }
  .small-package-grid .package {
    min-height: 116px;
  }
  .small-package-grid .quantity {
    font-size: 23px;
  }
  .small-plans {
    width: 100%;
    font-size: 10px;
  }
  .mobile-bar {
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-bar strong {
    font-size: 20px;
  }
  .mobile-bar button {
    min-width: 145px;
    max-width: 60%;
    min-height: 46px;
    padding: 10px 16px;
    font-size: 12px;
  }
  .payment-view {
    padding-bottom: 12px;
  }
  .payment-view .workspace > .checkout {
    border: 0;
    padding: 10px 0 0;
    max-width: none;
    background: #fff;
  }
  .payment-view #selection-review {
    margin: 6px 0 8px;
    font-size: 11px;
  }
  .payment-view #selection-caption {
    font-size: 11px;
  }
  .contact-fields input {
    height: 48px;
  }
  .summary {
    padding: 15px;
    margin-top: 20px;
  }
  .summary > div {
    font-size: 11px;
  }
  .summary .total b {
    font-size: 23px;
  }
  .payment-active .workspace > .checkout {
    padding-top: 2px;
  }
  .provider-summary {
    margin-top: 0;
  }
  .payment-trust {
    font-size: 9px;
  }
  .payment-links {
    margin-top: 10px;
    font-size: 10px;
  }
  .select-dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 78dvh;
    margin: 0;
    border: 0;
    border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .picker-heading {
    padding: 14px 18px;
  }
  .picker-options {
    max-height: calc(78dvh - 154px);
    padding: 6px 12px;
  }
  .picker-option {
    min-height: 50px;
    font-size: 15px;
  }
  .resume-order {
    margin: 10px 20px;
    padding: 10px 12px;
    flex-wrap: wrap;
  }
  .market-welcome {
    padding: 18px;
  }
  .welcome-heading {
    gap: 12px;
  }
  .welcome-heading svg {
    width: 56px;
  }
  .welcome-heading h2 {
    font-size: 16px;
  }
  .welcome-heading p {
    font-size: 11px;
  }
  .welcome-markets button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .receipt-shell {
    padding: 6px 20px 20px;
  }
  .receipt-hero h1 {
    font-size: 25px;
  }
  .receipt-animation {
    width: 150px;
    height: 74px;
  }
  .receipt-details {
    padding: 18px;
    border-radius: 16px;
  }
  .receipt-details dl > div {
    font-size: 11px;
  }
  .receipt-details dd {
    font-size: 12px;
  }
  .receipt-details .receipt-total dd {
    font-size: 22px;
  }
  .receipt-actions .pay-button {
    flex: 1;
    min-width: 130px;
    font-size: 11px;
  }
  footer {
    padding: 22px 0 18px;
    font-size: 8px;
    gap: 8px;
  }
  footer a {
    font-size: 8px;
  }
  .receipt-body {
    padding-bottom: 20px;
  }
}
@media (max-width: 360px) {
  .welcome-languages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top {
    padding-inline: 14px;
  }
  .app-shell {
    padding-inline: 14px;
  }
  .secure {
    font-size: 8px;
  }
  .secure i {
    display: none;
  }
  .header-actions {
    gap: 7px;
  }
  .header-actions .select-trigger {
    min-width: 80px;
  }
  .quantity {
    font-size: 23px;
  }
  .package {
    padding-inline: 12px;
  }
  .amount {
    font-size: 15px;
  }
  .intro h1 {
    font-size: 28px;
  }
  .mobile-bar {
    padding-inline: 14px;
  }
  .mobile-bar button {
    min-width: 130px;
    font-size: 11px;
  }
  .phone-field .select-trigger {
    width: 112px;
  }
  .receipt-ref b {
    font-size: 9px;
  }
}
/* Lightweight motion, disabled completely when the visitor requests it. */
@media (prefers-reduced-motion: no-preference) {
  .package {
    transition:
      background 0.18s,
      border-color 0.18s,
      box-shadow 0.18s,
      transform 0.18s;
  }
  .package:active {
    transform: scale(0.98);
  }
  .select-dialog[open],
  .market-welcome,
  .resume-order,
  #inline-payment:not([hidden]) {
    animation: rise-in 0.22s ease-out;
  }
  .brand-path .trail {
    stroke-dasharray: 300;
    animation: path-in 0.9s ease-out both;
  }
  .has-selection .brand-path .traveler {
    animation: line-arrival 0.4s ease-out forwards;
  }
  .receipt-wait,
  .is-creating #pay::after,
  .sdk-loading #payment-message::before {
    animation: waiting-spin 0.9s linear infinite;
  }
  .receipt-body[data-result="paid"] .receipt-trail {
    animation: receipt-arrive 0.75s ease-out;
  }
  .receipt-body[data-result="paid"] .receipt-check {
    animation: receipt-tick 0.85s 0.2s ease-out both;
  }
  .receipt-body[data-result="failed"] .receipt-cross {
    animation: rise-in 0.22s ease-out;
  }
  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes path-in {
    from {
      stroke-dashoffset: 300;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes line-arrival {
    from {
      transform: translate(0, 0);
    }
    to {
      transform: translate(202px, -28px);
    }
  }
  @keyframes waiting-spin {
    to {
      transform: rotate(360deg);
    }
  }
  @keyframes receipt-arrive {
    from {
      stroke-dashoffset: 260;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes receipt-tick {
    from {
      stroke-dashoffset: 50;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.receipt-more {
  margin-top: 14px;
}
.receipt-more summary {
  cursor: pointer;
  font-size: 11px;
  color: #64705b;
  padding: 10px 0;
}
.receipt-more dd {
  font-size: 10px;
}
.receipt-ref b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.receipt-ref button {
  margin-inline-start: auto;
}
.receipt-body[data-result="paid"] .receipt-animation {
  filter: drop-shadow(0 5px 9px #a6ff0018);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #b2c19f #f4f6f0;
}
*::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
*::-webkit-scrollbar-track {
  background: #f4f6f0;
  border-radius: 10px;
}
*::-webkit-scrollbar-thumb {
  background: #b2c19f;
  border: 2px solid #f4f6f0;
  border-radius: 10px;
}
*::-webkit-scrollbar-thumb:hover {
  background: #82976a;
}
/* Shared badge shapes: restrained LINE accents, multilingual labels. */
.plan-title {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #62695b;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.plan-badge.badge-choice {
  background: #e7f8cc;
  color: #304418;
}
.plan-badge.badge-value {
  background: #0d1117;
  color: #fff;
}
.plan-badge.badge-offer {
  background: #f8f0df;
  color: #715321;
}
.plan-badge.badge-popular {
  background: #edf0f7;
  color: #3e4d6a;
}
.plan-badge.badge-new {
  background: #edf6f3;
  color: #335b4d;
}
.plan-badge.badge-custom {
  background: #f5f5f3;
  color: #333;
  border: 1px dashed #d1d7ca;
}

.payment-active .provider-summary {padding:12px 16px;margin:0 0 12px}
.payment-active .provider-summary > div {padding:4px 0}
.payment-active .provider-summary .total {margin-top:6px;padding-top:8px}
/* Checkout order actions: one quiet row per action, no competing footer buttons. */
.payment-active .payment-links {display:grid;gap:0;margin:0;font-size:12px;text-align:center}
.payment-active .payment-links a {display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:0;border-radius:0;background:transparent;box-shadow:none;text-underline-offset:4px}
.payment-active .payment-links a[hidden] {display:none}
.payment-active #hosted-payment {order:-1;border-bottom:1px solid var(--line);font-weight:600;text-decoration:none}
.payment-active #check-status {font-size:11px}
.payment-active #payment-message:empty,.payment-active #actual-charge:empty {display:none}
.payment-active footer {padding-block:12px;margin-top:4px;gap:8px;font-size:10px}
.payment-active .provider-heading p {display:none}
@media(max-width:600px){.payment-active footer{flex-direction:column;text-align:center}.payment-active .provider-heading{margin-bottom:12px}}

/* Payment choice stays inside review, before any provider session is created. */
.payment-choice {border:0;margin:20px 0;padding:0;min-width:0}
.payment-choice legend {font-size:13px;font-weight:700;margin-bottom:10px}
.payment-choice-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.payment-choice-grid label {display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:12px;min-height:72px;cursor:pointer;min-width:0}
.payment-choice-grid label:has(input:checked) {border-color:var(--ink);background:#f4f7ed}
.payment-choice-grid input {width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#526f30}
.payment-choice-grid span {display:grid;gap:4px;min-width:0}
.payment-choice-grid strong {font-size:13px}.payment-choice-grid small {font-size:10px;color:#626d59;line-height:1.7}
#installment-notice {font-size:11px;color:#626d59;line-height:1.8;margin-top:8px}
@media(prefers-reduced-motion:no-preference){.payment-choice-grid label {transition:background .16s,border-color .16s}}

@media(min-width:1000px){html[data-columns="2"] .package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-columns="4"] .package-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
