html[data-access-size="large"] { font-size: 17px; }
html[data-access-size="xlarge"] { font-size: 18px; }

:root {
    --zn-shell-width: min(1420px, calc(100vw - 36px));
    --zn-mobile-shell-width: min(100% - 18px, 720px);
}

.zn-mobile-bar {
    display: none;
}

.zn-logo-dark {
    display: none !important;
}

[data-theme="dark"] .zn-logo-light {
    display: none !important;
}

[data-theme="dark"] .zn-logo-dark {
    display: block !important;
}

.footer-brand-v2 .footer-full-logo {
    display: block;
    width: min(210px, 100%);
    height: auto;
    margin-bottom: 14px;
}

.zn-main-header {
    display: block !important;
    position: relative;
    z-index: 120;
    width: var(--zn-shell-width);
    margin: 16px auto 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: visible !important;
}

.zn-main-header::before,
.zn-main-header::after {
    content: none !important;
}

[data-theme="dark"] .zn-main-header {
    background: rgba(8, 24, 32, .82);
    border-color: rgba(215, 255, 114, .12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.zn-header-service {
    position: relative;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-height: 38px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
}

[data-theme="dark"] .zn-header-service {
    border-bottom-color: rgba(255, 255, 255, .08);
}

.zn-header-main {
    position: relative;
    z-index: 10;
    display: grid !important;
    grid-template-columns: minmax(190px, 280px) minmax(420px, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 12px 20px 16px;
    width: 100%;
    box-sizing: border-box;
    min-height: 76px;
}

.zn-main-header .brand-full-logo {
    display: block;
    max-width: 176px;
    height: auto;
    position: static !important;
    transform: none !important;
}

.zn-main-header .brand,
.zn-main-header .brand-full-logo-link {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    transform: none !important;
}

.zn-main-header .main-nav {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    min-width: 0;
    width: 100%;
    position: static !important;
    transform: none !important;
}

.zn-main-header .main-nav a {
    padding: 10px 11px;
    border-radius: 12px;
    color: #263532;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

[data-theme="dark"] .zn-main-header .main-nav a {
    color: rgba(255, 255, 255, .84);
}

.zn-main-header .main-nav a:hover,
.zn-main-header .main-nav a.active {
    background: rgba(102, 155, 0, .14);
    color: #669b00;
}

.zn-main-header .top-actions {
    display: flex !important;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    min-width: 0;
    position: static !important;
    transform: none !important;
}

.zn-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #44524f;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

[data-theme="dark"] .zn-service-link {
    color: rgba(255, 255, 255, .78);
}

.zn-service-link:hover {
    color: #669b00;
}

.zn-order-link {
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16d78e, #28e54f);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(22, 215, 142, .22);
}

.zn-order-link:hover {
    transform: translateY(-1px);
    color: #fff !important;
}

.zn-order-icon {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 14px;
}

.zn-order-icon::before {
    content: "";
    position: absolute;
    inset: 2px 0 0 0;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.zn-order-icon::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 0;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.zn-phone-dropdown,
.zn-access-wrap {
    position: relative;
}

.zn-phone-menu,
.zn-access-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    min-width: 230px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
    z-index: 9999;
}

.zn-phone-menu {
    min-width: 260px;
}

.zn-phone-dropdown:hover .zn-phone-menu,
.zn-phone-dropdown:focus-within .zn-phone-menu,
.zn-phone-menu.is-open,
.zn-access-panel.is-open {
    display: grid;
    gap: 8px;
}

[data-theme="dark"] .zn-phone-menu,
[data-theme="dark"] .zn-access-panel {
    background: rgba(13, 24, 27, .96);
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
}

.zn-phone-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.zn-phone-menu a:hover {
    background: rgba(102, 155, 0, .12);
    color: #669b00;
}

.zn-access-panel strong {
    font-size: 16px;
}

.zn-access-panel > span {
    color: #7a8985;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.zn-access-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.zn-access-row button {
    min-height: 42px;
    border: 1px solid rgba(102, 155, 0, .22);
    border-radius: 10px;
    background: rgba(102, 155, 0, .08);
    color: #283330;
    font-weight: 900;
    cursor: pointer;
}

[data-theme="dark"] .zn-access-row button {
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.zn-payment-page {
    width: min(1580px, calc(100% - 64px));
    margin: 34px auto 80px;
}

.zn-breadcrumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 18px;
    color: #71807c;
    font-weight: 800;
}

.zn-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.zn-payment-hero,
.zn-payment-methods,
.zn-payment-info {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(102, 155, 0, .14);
    border-radius: 28px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .1);
}

[data-theme="dark"] .zn-payment-hero,
[data-theme="dark"] .zn-payment-methods,
[data-theme="dark"] .zn-payment-info {
    background: rgba(8, 24, 32, .76);
    border-color: rgba(215, 255, 114, .12);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.zn-payment-hero {
    padding: clamp(28px, 5vw, 64px);
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .94) 42%, rgba(255, 255, 255, .22) 72%),
        url("/new/assets/img/payments/payment-hero-visual.svg") right center / auto 100% no-repeat,
        radial-gradient(circle at 82% 20%, rgba(140, 198, 63, .22), transparent 34%),
        rgba(255, 255, 255, .84);
}

[data-theme="dark"] .zn-payment-hero {
    background:
        linear-gradient(90deg, rgba(8, 24, 32, .94) 0%, rgba(8, 24, 32, .88) 42%, rgba(8, 24, 32, .24) 72%),
        url("/new/assets/img/payments/payment-hero-visual.svg") right center / auto 100% no-repeat,
        radial-gradient(circle at 82% 20%, rgba(140, 198, 63, .18), transparent 34%),
        rgba(8, 24, 32, .82);
}

.zn-payment-hero h1 {
    max-width: 720px;
    margin: 8px 0 12px;
    color: #101828;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.02;
}

[data-theme="dark"] .zn-payment-hero h1,
[data-theme="dark"] .zn-payment-methods h2,
[data-theme="dark"] .zn-payment-info h2 {
    color: #fff;
}

.zn-payment-hero p {
    max-width: 720px;
    color: #53645f;
    font-size: 18px;
    line-height: 1.55;
}

[data-theme="dark"] .zn-payment-hero p,
[data-theme="dark"] .zn-payment-info,
[data-theme="dark"] .zn-payment-info p {
    color: rgba(255, 255, 255, .76);
}

.zn-payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.zn-payment-methods {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 48px);
    text-align: center;
}

.zn-liqpay-modal {
    position: fixed;
    inset: 0;
    z-index: 8000;
    display: none;
    place-items: center;
    padding: 18px;
}

.zn-liqpay-modal.is-open {
    display: grid;
}

.zn-liqpay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 15, 12, .48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.zn-liqpay-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    box-sizing: border-box;
    padding: 28px;
    border: 1px solid rgba(102, 155, 0, .18);
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 0, rgba(140, 198, 63, .18), transparent 34%),
        rgba(255, 255, 255, .96);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .22);
}

[data-theme="dark"] .zn-liqpay-card {
    background:
        radial-gradient(circle at 90% 0, rgba(140, 198, 63, .16), transparent 34%),
        rgba(8, 24, 32, .96);
    border-color: rgba(215, 255, 114, .14);
}

.zn-liqpay-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #27c7b8;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
}

.zn-liqpay-card h2 {
    margin: 8px 48px 10px 0;
    color: #101828;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.08;
}

[data-theme="dark"] .zn-liqpay-card h2 {
    color: #fff;
}

.zn-liqpay-card p {
    margin: 0;
    color: #53645f;
    font-size: 16px;
    line-height: 1.55;
}

[data-theme="dark"] .zn-liqpay-card p {
    color: rgba(255, 255, 255, .76);
}

.zn-liqpay-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(102, 155, 0, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .72);
}

[data-theme="dark"] .zn-liqpay-form {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .1);
}

.zn-liqpay-form label {
    display: grid;
    gap: 7px;
    color: #344641;
    font-weight: 900;
}

[data-theme="dark"] .zn-liqpay-form label {
    color: rgba(255, 255, 255, .84);
}

.zn-liqpay-form input {
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    border: 1px solid rgba(102, 155, 0, .22);
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    color: #101828;
    padding: 0 16px;
    font: inherit;
    font-weight: 850;
    outline: none;
}

[data-theme="dark"] .zn-liqpay-form input {
    background: rgba(2, 10, 14, .72);
    color: #fff;
    border-color: rgba(215, 255, 114, .18);
}

.zn-liqpay-form input:focus {
    border-color: #669b00;
    box-shadow: 0 0 0 4px rgba(102, 155, 0, .14);
}

.zn-liqpay-error {
    min-height: 18px;
    color: #d92d20;
    font-weight: 800;
    font-size: 13px;
}

.zn-payment-methods h2,
.zn-payment-info h2 {
    margin: 0 0 24px;
    color: #24312f;
    font-size: clamp(26px, 3.2vw, 42px);
}

.zn-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
}

.zn-payment-card {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 170px;
    padding: 24px 18px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    color: #17231f;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.zn-payment-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 155, 0, .32);
    box-shadow: 0 20px 44px rgba(15, 23, 42, .12);
}

.zn-payment-logo {
    display: grid;
    place-items: center;
    width: 132px;
    height: 78px;
    border-radius: 20px;
    background: #fff;
    color: #263238;
    font-weight: 950;
    font-size: 18px;
    letter-spacing: 0;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.zn-payment-logo img {
    display: block;
    width: 78%;
    max-height: 58px;
    object-fit: contain;
}

.zn-payment-mono .zn-payment-logo {
    background: #111827;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.zn-payment-mono .zn-payment-logo img {
    width: 100%;
    max-height: 78px;
}

.zn-payment-liqpay .zn-payment-logo {
    background: #f3fbef;
}

.zn-payment-liqpay .zn-payment-logo img {
    width: 86%;
}

.zn-payment-privat .zn-payment-logo {
    background: #071114;
}

.zn-payment-privat .zn-payment-logo img {
    width: 74px;
    max-height: 74px;
}
.zn-payment-ipay .zn-payment-logo { background: #eef8fb; color: #5d8791; }
.zn-payment-easypay .zn-payment-logo { background: #fff8e7; color: #5c5360; }

.zn-payment-card small {
    color: #73827e;
    font-weight: 700;
}

.zn-payment-info {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 44px);
    color: #344641;
}

.zn-payment-info ul {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding-left: 20px;
    line-height: 1.55;
}

@media (max-width: 1120px) {
    .zn-header-main {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .zn-main-header .main-nav {
        overflow-x: auto;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 2px;
    }
    .zn-payment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .zn-main-header {
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    [data-theme="dark"] .zn-main-header { background: transparent; }
    .zn-mobile-bar {
        display: grid;
        grid-template-columns: auto 1fr auto auto auto;
        align-items: center;
        gap: 10px;
        min-height: 70px;
        margin: 0;
        padding: 10px 12px;
        border: 0;
        border-bottom: 0;
        border-radius: 0;
        background: transparent;
        color: #0f172a;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    [data-theme="dark"] .zn-mobile-bar {
        background: transparent;
        border-color: rgba(255, 255, 255, .12);
        color: #fff;
    }
    .zn-mobile-logo {
        display: inline-flex;
        align-items: center;
        width: 118px;
        min-width: 118px;
        height: auto;
        border-radius: 0;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }
    .zn-mobile-logo img {
        width: 100%;
        height: auto;
        display: block;
    }
    .zn-mobile-service {
        justify-self: center;
        color: #15211d;
        font-size: 18px;
        font-weight: 950;
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: .02em;
        white-space: nowrap;
    }
    .zn-mobile-spacer {
        min-width: 0;
    }
    [data-theme="dark"] .zn-mobile-service {
        color: #fff;
    }
    .zn-mobile-icon,
    .zn-mobile-menu-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(102, 155, 0, .14);
        border-radius: 14px;
        background: rgba(140, 198, 63, .10);
        color: #669b00 !important;
        font-size: 22px;
        font-weight: 900;
        text-decoration: none;
        cursor: pointer;
    }
    .zn-mobile-pay {
        color: #669b00 !important;
    }
    .zn-mobile-pay span {
        position: relative;
        display: block;
        width: 23px;
        height: 17px;
        border: 2px solid currentColor;
        border-radius: 5px;
    }
    .zn-mobile-pay span::before {
        content: "";
        position: absolute;
        left: 2px;
        right: 2px;
        top: 4px;
        height: 2px;
        border-radius: 99px;
        background: currentColor;
    }
    .zn-mobile-pay span::after {
        content: "";
        position: absolute;
        left: 3px;
        bottom: 3px;
        width: 6px;
        height: 2px;
        border-radius: 99px;
        background: currentColor;
    }
    [data-theme="dark"] .zn-mobile-icon,
    [data-theme="dark"] .zn-mobile-menu-toggle {
        border-color: rgba(215, 255, 114, .16);
        background: rgba(255, 255, 255, .06);
        color: #8cc63f;
    }
    .zn-mobile-menu-toggle {
        font-size: 26px;
        line-height: 1;
    }
    .zn-header-service {
        display: none;
    }
    .zn-access-panel {
        position: fixed;
        top: 64px;
        left: 12px;
        right: 12px;
        min-width: 0;
    }
    .zn-phone-menu {
        position: fixed;
        top: 60px;
        left: 12px;
        right: 12px;
        min-width: 0;
        border-radius: 18px;
    }
    .zn-header-main {
        display: none !important;
        padding: 0;
        min-height: 0;
    }
    .zn-main-header.is-mobile-open .zn-header-main {
        display: block !important;
        padding: 10px 12px 14px;
        background: rgba(255, 255, 255, .96);
        border-radius: 0 0 22px 22px;
        box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
    }
    [data-theme="dark"] .zn-main-header.is-mobile-open .zn-header-main {
        background: rgba(8, 24, 32, .96);
    }
    .zn-main-header.is-mobile-open .brand,
    .zn-main-header.is-mobile-open .top-actions {
        display: none !important;
    }
    .zn-main-header .main-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        padding: 0;
        overflow: visible;
        justify-content: stretch;
    }
    .zn-main-header .main-nav::-webkit-scrollbar { display: none; }
    .zn-main-header .main-nav a {
        min-height: 44px;
        padding: 0 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(102, 155, 0, .14);
        background: rgba(255, 255, 255, .66);
        font-size: 13px;
        border-radius: 16px;
    }
    .zn-main-header .main-nav a.active {
        background: rgba(102, 155, 0, .14);
        color: #0f7a42;
        border-color: rgba(102, 155, 0, .22);
    }
    [data-theme="dark"] .zn-main-header .main-nav a {
        background: rgba(255, 255, 255, .06);
        border-color: rgba(255, 255, 255, .1);
        color: rgba(255, 255, 255, .88);
    }
    .zn-payment-page {
        width: var(--zn-mobile-shell-width);
        margin-top: 18px;
    }
    .zn-payment-hero,
    .zn-payment-methods,
    .zn-payment-info {
        border-radius: 22px;
    }
    .zn-payment-hero {
        padding: 28px 24px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82)),
            url("/new/assets/img/payments/payment-hero-visual.svg") right bottom / 125% auto no-repeat,
            rgba(255, 255, 255, .84);
    }
    .zn-payment-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .zn-liqpay-card {
        padding: 24px;
        border-radius: 24px;
    }
    .zn-payment-card {
        min-height: 116px;
    }
}
