.izi-flow-theme {
    --izi-surface: #fff;
    --izi-border-soft: #dce5ec;
    --izi-ink-strong: #142a3c;
    --izi-mobile-bar: calc(60px + env(safe-area-inset-bottom, 0px));
}

.izi-flow-theme :where(.izi-header, .izi-footer, .izi-mobile-nav, .izi-home-page) :focus-visible,
.izi-home-page main :focus-visible {
    outline: 3px solid #a74314;
    outline-offset: 3px;
}

.izi-flow-theme .izi-nav-toggle[hidden] { display: none !important; }
.izi-flow-theme .izi-header__inner { gap: clamp(10px, 2vw, 26px); }

.izi-home-page .izi-home-main {
    background: #eef5fa;
    border-bottom: 1px solid var(--izi-border-soft);
}

.izi-home-page .izi-home-main__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: clamp(28px, 6vw, 80px);
    padding-block: clamp(32px, 6vw, 80px);
}

.izi-home-page .izi-home-intro h1 {
    max-width: 12.5em;
    margin: 0 0 16px;
    color: var(--izi-ink-strong);
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 1.06;
    text-wrap: balance;
}

.izi-home-page .izi-home-lead {
    max-width: 36rem;
    margin: 0;
    font-size: clamp(16px, 1.9vw, 19px);
    line-height: 1.55;
}

.izi-home-page .izi-hero-links { margin-top: 18px; }
.izi-home-page .izi-hero-links a { min-height: 44px; display: inline-flex; align-items: center; }
.izi-home-page .izi-home-topup { min-width: 0; border-radius: 14px !important; box-shadow: 0 8px 20px #12334f0b !important; }
.izi-home-page .izi-home-topup :where(select, input, button) { min-width: 0; }
.izi-home-page .izi-home-field :is(input, select) { font-size: 16px; }
.izi-home-page .izi-home-demo__amounts button,
.izi-home-page .izi-recipient-tabs button { min-height: 44px; }
.izi-home-page .izi-home-demo__button[aria-busy="true"] { cursor: progress; }
.izi-home-page .izi-home-form-note { text-align: left; }

.izi-home-page .izi-destinations,
.izi-home-page .izi-how-section,
.izi-home-page .izi-home-faq {
    padding-top: clamp(30px, 6vw, 62px);
}

.izi-home-page .izi-destination { min-width: 0; min-height: 62px; }
.izi-home-page .izi-destination strong { overflow-wrap: anywhere; }
.izi-home-page .izi-destination[hidden] { display: none !important; }
.izi-home-page .izi-country-search input { min-height: 44px; font-size: 16px; }
.izi-home-page .izi-home-faq summary { min-height: 44px; }

.izi-footer__inner > strong { font-size: 19px; color: #fff; }
.izi-footer__inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.izi-footer__inner nav a { display: inline-flex; align-items: center; min-height: 44px; }
.izi-footer__inner small { display: block; margin-top: 6px; }

@media (max-width: 1024px) {
    body.izi-flow-theme { padding-bottom: var(--izi-mobile-bar); }
    .izi-home-page .izi-home-main__inner { gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(270px, 1fr); }
    .izi-flow-theme.izi-nav-enhanced .izi-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }
    .izi-flow-theme .izi-header__actions { margin-inline-start: auto; }
    .izi-flow-theme .izi-header__actions .izi-topup-link { display: none; }
    .izi-flow-theme.izi-nav-enhanced .izi-nav {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        margin: 0;
        padding: 12px clamp(16px, 3vw, 28px);
        background: #fff;
        border-bottom: 1px solid var(--izi-border-soft);
    }
    .izi-flow-theme.izi-nav-enhanced .izi-nav.is-open {
        display: block;
        max-height: calc(100dvh - 72px - var(--izi-mobile-bar));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .izi-flow-theme:not(.izi-nav-enhanced) .izi-header__inner { flex-wrap: wrap; }
    .izi-flow-theme:not(.izi-nav-enhanced) .izi-nav {
        display: block;
        position: static;
        order: 3;
        flex: 1 0 100%;
        padding: 0 0 6px;
    }
    .izi-flow-theme:not(.izi-nav-enhanced) .izi-nav__list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .izi-flow-theme .izi-mobile-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        position: fixed;
        inset: auto 0 0;
        z-index: 1100;
        background: #fff;
        border-top: 1px solid var(--izi-border-soft);
        padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 0px));
    }
    .izi-flow-theme .izi-mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        min-height: 52px;
        padding-inline: 2px;
        border-radius: 6px;
        color: #465468;
        font-size: 11px;
        text-align: center;
    }
    .izi-flow-theme .izi-mobile-nav svg { width: 20px; height: 20px; fill: currentColor; }
    .izi-flow-theme .izi-mobile-nav [aria-current="page"] { color: #86370f; background: #fff0e5; }

    .izi-flow-theme.izi-payment-open .izi-mobile-nav,
    .izi-flow-theme:has(main :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], textarea):focus) .izi-mobile-nav {
        display: none;
    }
}

@media (max-width: 700px) {
    .izi-home-page .izi-home-main__inner { grid-template-columns: minmax(0, 1fr); padding-block: 26px; }
    .izi-home-page .izi-home-intro h1 { font-size: clamp(32px, 7.9vw, 44px); }
    .izi-home-page .izi-home-intro { min-width: 0; }
    .izi-home-page .izi-destinations .izi-section-heading { display: grid; gap: 12px; }
    .izi-home-page .izi-country-search { width: 100%; min-width: 0; }
    .izi-home-page .izi-country-search[hidden] { display: none; }
    .izi-application-page .izi-app-container,
    .izi-application-page .izi-app-surface { min-width: 0; }
}

@media (max-width: 360px) {
    .izi-flow-theme .izi-header__actions .izi-help-link { display: none; }
    .izi-home-page .izi-home-demo__amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
    .izi-header, .izi-mobile-nav, .izi-footer { display: none !important; }
    body.izi-flow-theme { padding: 0; }
}

.izi-home-page .izi-destination-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
}

.izi-home-page .izi-destination-unavailable {
    background: #f7f8fa;
    cursor: default;
}

.izi-home-page .izi-destination-unavailable:hover { transform: none; }

.izi-flow-theme .izi-logo { min-width: 0; }
.izi-flow-theme .izi-logo img { height: auto; }
.izi-flow-theme .izi-nav__list { list-style: none; }
.izi-flow-theme .izi-nav__list a { overflow-wrap: anywhere; }

.izi-flow-theme .izi-app-container,
.izi-flow-theme .izi-app-surface,
.izi-flow-theme .izi-content-container,
.izi-flow-theme :where(.izi-topup-main, .izi-topup-summary, .izi-auth-card, .izi-panel, .izi-ls-panel) {
    min-inline-size: 0;
}

.izi-flow-theme :where(.izi-regular-page, .izi-app-surface) :where(img, video, iframe) {
    max-inline-size: 100%;
}

.izi-flow-theme .izi-regular-page :where(img, video) { height: auto; }
.izi-flow-theme .izi-regular-page :where(h1, h2, h3, a, p, li) { overflow-wrap: anywhere; }

.izi-flow-theme .izi-regular-page .wp-block-table,
.izi-flow-theme .izi-table-wrap {
    max-inline-size: 100%;
    overflow-x: auto;
}

.izi-flow-theme .izi-breadcrumb [aria-current] { min-width: 0; overflow-wrap: anywhere; }
.izi-flow-theme .izi-topup-summary :where(dd, label, button) { overflow-wrap: anywhere; }
.izi-flow-theme .izi-form-grid > * { min-width: 0; }
.izi-flow-theme :where(.izi-topup-shell, .izi-ls-shell, .izi-auth) :where(input, select, textarea) {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .izi-flow-theme.izi-nav-enhanced .izi-nav__list {
        display: grid;
        gap: 4px;
    }
    .izi-flow-theme .izi-nav__list a { min-height: 44px; }
    .izi-flow-theme .izi-footer__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
}

@media (max-width: 820px) {
    .izi-flow-theme .izi-app-surface > .izi-topup-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px;
    }
    .izi-flow-theme .izi-topup-summary { position: static !important; }
}

@media (max-width: 600px) {
    .izi-flow-theme .izi-header__inner { min-height: 62px; }
    .izi-flow-theme .izi-logo img { max-width: min(32vw, 145px); }
    .izi-flow-theme .izi-header__actions { gap: 6px; }
    .izi-flow-theme .izi-header__actions > a { min-height: 44px; }
    .izi-flow-theme .izi-breadcrumb { margin-top: 14px; }
    .izi-flow-theme .izi-app-container { margin-top: 14px; }
    .izi-flow-theme .izi-app-surface > :where(.izi-auth, .izi-shell, .izi-wrap) { margin-inline: 0; }

    .izi-flow-theme .izi-topup-main .izi-progress,
    .izi-flow-theme .izi-topup-main .izi-form-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .izi-flow-theme .izi-topup-main .izi-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .izi-flow-theme .izi-topup-main .izi-progress > span { min-width: 0; overflow-wrap: anywhere; }
    .izi-flow-theme .izi-topup-summary dl > div { gap: 8px; }
    .izi-flow-theme .izi-topup-summary dd { min-width: 0; }

    .izi-flow-theme .izi-elements-dialog {
        width: calc(100% - 16px) !important;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .izi-flow-theme .izi-ls-shell .izi-ls-two {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.izi-flow-theme .izi-header__actions .izi-account-link[aria-current="page"] {
    background: #fff0e5;
    color: #86370f;
}

.izi-flow-theme .izi-app-surface .izi-account-ready {
    width: min(100%, 620px);
    margin: clamp(10px, 4vw, 34px) auto;
}

.izi-flow-theme .izi-account-ready h1 {
    font-size: clamp(25px, 5vw, 38px);
    overflow-wrap: anywhere;
}

.izi-flow-theme .izi-account-actions { flex-wrap: wrap; }
.izi-flow-theme .izi-app-surface .izi-fb-link-panel {
    width: min(100%, 620px);
    margin-inline: auto;
}

@media (max-width: 480px) {
    .izi-flow-theme .izi-account-ready .izi-account-actions { align-items: stretch; }
    .izi-flow-theme .izi-account-ready .izi-account-actions > a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .izi-flow-theme .izi-account-ready .izi-account-actions > .izi-btn { width: 100%; }
}


.izi-flow-theme .izi-header__actions .izi-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: 12px;
    border: 1px solid #c9d2dc;
    border-radius: 8px;
    color: #84320f;
    background: #fff;
    white-space: nowrap;
}
.izi-flow-theme .izi-header__actions .izi-account-link:hover,
.izi-flow-theme .izi-header__actions .izi-account-link[aria-current="page"] {
    border-color: #ba785a;
    background: #fff1e8;
    color: #84320f;
}
.izi-flow-theme .izi-header__actions .izi-topup-link,
.izi-home-page .izi-home-topup .izi-home-demo__button {
    background: #a74314 !important;
    border-color: #a74314;
    color: #fff !important;
}
.izi-flow-theme .izi-header__actions .izi-topup-link:hover,
.izi-home-page .izi-home-topup .izi-home-demo__button:hover:not(:disabled) {
    background: #84320f !important;
    border-color: #84320f;
}
.izi-home-page .izi-home-topup .izi-home-demo__button:disabled {
    background: #e8edf2 !important;
    border-color: #d8e0e8;
    color: #465468 !important;
    opacity: 1;
}

.izi-flow-theme .izi-elements-panel.izi-inline-payment {
    width: 100%;
    padding-inline: 0;
}

.izi-flow-theme .izi-inline-payment .izi-elements-dialog {
    width: min(100%, 660px) !important;
    max-height: none !important;
    overflow: visible;
}

@media (max-width: 1024px) {
    .izi-flow-theme.izi-inline-payment-active .izi-mobile-nav { display: none; }
    .izi-flow-theme.izi-inline-payment-active { padding-bottom: env(safe-area-inset-bottom, 0px); }
}

@media (max-width: 600px) {
    .izi-flow-theme .izi-topup-shell .izi-main-continue,
    .izi-flow-theme .izi-topup-shell #izi-checkout,
    .izi-flow-theme .izi-inline-payment .izi-elements-submit {
        width: 100%;
        min-height: 48px;
    }
    .izi-flow-theme .izi-inline-payment .izi-elements-order {
        flex-wrap: wrap;
        gap: 8px;
        overflow-wrap: anywhere;
    }
}
