/* ==========================================================================
   Zhenic — the pricing pages (Views/Clinic/Pricing)
   Everything is under .zp, and the classes that Bootstrap/Metronic also style have the zp- prefix
   (zp-btn, zp-badge, zp-toast, zp-input-group, zp-i), so the page and the panel do not change each other.
   The dark theme is at the end (html[data-theme=dark]).
   ========================================================================== */

.zp {
    --navy: #1E336A;
    --navy-800: #142552;
    --navy-600: #2A4790;
    --navy-200: #C4D0EC;
    --navy-100: #DCE4F5;
    --navy-50: #EEF2FA;

    --accent: #2F6BFF;
    --accent-700: #1B4FD6;
    --accent-600: #2459F0;
    --accent-100: #DCE6FF;
    --accent-50: #F0F5FF;

    --cta: #12B76A;
    --cta-600: #0E9F5C;
    --cta-700: #087A47;
    --cta-100: #C9F1DC;
    --cta-50: #EFFBF5;
    --cta-gradient: linear-gradient(135deg, #1CC983 0%, #0EA15F 100%);

    --yellow: #F6C445;
    --amber-700: #9A6700;
    --amber-50: #FFF8E3;

    --green: #12945B;
    --green-50: #E6F6EE;
    --red: #B4232A;
    --red-500: #E5383B;
    --red-50: #FDEEEE;

    --ink: #18213D;
    --text: #3F4254;
    --muted: #7A8099;
    --line: #E5E9F2;
    --line-strong: #CDD3E1;
    --bg: #F3F5FA;
    --surface: #FFFFFF;

    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --shadow-md: 0 10px 28px -12px rgba(16, 24, 40, .18);
    --shadow-lg: 0 28px 60px -24px rgba(20, 37, 82, .35);

    --font: IRANSans, Tahoma, sans-serif;
    /* the fixed header of the panel */
    --top: 75px;
    --surface-2: #F7F9FF;
    --glass: rgba(255, 255, 255, .9);
    --ease: cubic-bezier(.2, .8, .2, 1);

    /* every discount tag */
    --sale: var(--yellow);
    --sale-ink: var(--navy);
}

.zp *,
.zp *::before,
.zp *::after { box-sizing: border-box; }
.zp [hidden] { display: none !important; }


.zp {
    margin: 0;
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.zp img { max-width: 100%; display: block; }
.zp button,
.zp input { font: inherit; color: inherit; }
.zp button { -webkit-tap-highlight-color: transparent; }
.zp a { color: inherit; }

.zp .zp-i {
    width: 1em; height: 1em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.zp .sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.zp .wrap { max-width: 1320px; margin-inline: auto; padding: 0 0 120px; }
@media (min-width: 1200px) { .zp .wrap { padding-bottom: 48px; } }

/* ---------- buttons ---------- */

.zp .zp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 20px;
    border: 1px solid transparent; border-radius: 16px;
    font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s, box-shadow .2s, transform .15s, color .2s;
}
.zp .zp-btn:active { transform: translateY(1px); }
.zp .zp-btn:focus-visible { outline: 3px solid rgba(47, 107, 255, .4); outline-offset: 2px; }
.zp .zp-btn .zp-i { font-size: 18px; }

.zp .zp-btn-primary { background: var(--cta-gradient); color: #fff; box-shadow: 0 12px 8px -8px rgba(18, 183, 106, .4); }
.zp .zp-btn-primary:hover { background: linear-gradient(135deg, #17B874 0%, #0B8E53 100%); box-shadow: 0 12px 8px -8px rgba(18, 183, 106, 0.5); }

.zp .zp-btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.zp .zp-btn-glass:hover { background: rgba(255, 255, 255, .15); }

.zp .zp-btn-outline { background: var(--surface); color: var(--navy); border-color: var(--line-strong); }
.zp .zp-btn-outline:hover { border-color: var(--navy); }

/* ==========================================================================
   Hero + purchase-guide video
   ========================================================================== */

.zp .hero {
    position: relative;
    overflow: hidden;
    padding: 28px 20px 36px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(900px 420px at 100% 0%, rgba(58, 96, 190, .55), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(18, 183, 106, .2), transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%);
}
.zp .hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
            mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.zp .hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }

/* on small screens the video comes right after the title */
@media (max-width: 991px) {
    .zp .hero-grid { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
    .zp .hero-copy { display: contents; }
    .zp .showcase { order: 1; align-self: stretch; margin-top: 18px; }
}

@media (min-width: 992px) {
    .zp .hero { padding: 24px 36px; }
    /* a wide video, cut to a cinema strip so it is not taller than the text beside it
       (the guide itself still plays whole) */
    .zp .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
    .zp .hero .showcase { width: 100%; max-width: 500px; justify-self: center; padding: 6px 4px 8px; }
    .zp .hero .sc-screen { aspect-ratio: 2.35 / 1; }
    .zp .hero .sc-bar { padding-bottom: 6px; }
    .zp .hero .hero-lead { font-size: 15.5px; }
    .zp .hero .sc-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
    .zp .hero .sc-play svg { width: 24px; height: 24px; }
    .zp .hero .sc-cap { inset-inline: 16px; bottom: 12px; }
    .zp .hero .sc-cap b { font-size: 15px; }
    .zp .hero .sc-cap b + span { font-size: 12px; }
    .zp .hero .sc-live { top: 10px; inset-inline-start: 10px; font-size: 11.5px; }
}

.zp .hero h1 {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.5vw, 34px); line-height: 1.55; font-weight: 900;
    text-wrap: balance;
}
.zp .hero h1 em { font-style: normal; color: var(--yellow); }
.zp .hero-lead { margin: 0; max-width: 60ch; font-size: 14.5px; line-height: 1.95; color: rgba(255, 255, 255, .78); }

/* the video card */

.zp .showcase { position: relative; padding: 12px 6px 16px; }
.zp .sc-glow {
    position: absolute; inset: 6% 2% 0; border-radius: 40px; pointer-events: none;
    background:
        radial-gradient(55% 60% at 35% 40%, rgba(18, 183, 106, .55), transparent 70%),
        radial-gradient(50% 55% at 70% 75%, rgba(246, 196, 69, .38), transparent 70%);
    filter: blur(38px);
}

.zp .sc-frame {
    position: relative; display: block; width: 100%;
    padding: 6px; border: 0; border-radius: 20px;
    text-align: inherit; color: #fff; cursor: pointer;
    background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06));
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .22);
    transition: transform .35s var(--ease), box-shadow .35s;
}
/* a flat lift on hover: a 3D turn around a playing video is drawn wrong by Firefox */
.zp .sc-frame:hover,
.zp .sc-frame:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 38px 70px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .32);
}
.zp .sc-frame:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.zp .sc-bar { display: flex; align-items: center; gap: 6px; padding: 2px 6px 7px; direction: ltr; }
.zp .sc-bar > i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.zp .sc-bar > i:first-child { background: #FF6B57; }
.zp .sc-bar > i:nth-child(2) { background: #FFC24B; }
.zp .sc-bar > i:nth-child(3) { background: #3DD68C; }
.zp .sc-url {
    flex: 1; margin-inline: 14px 40px; padding: 1px 12px; border-radius: 999px;
    background: rgba(0, 0, 0, .22); font-size: 11px; color: rgba(255, 255, 255, .7);
    text-align: center; direction: rtl; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* clip-path keeps the video inside the rounded corners in every browser */
.zp .sc-screen {
    position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: 14px; clip-path: inset(0 round 14px); background: #0B1533;
}
.zp .sc-screen video { width: 100%; height: 100%; display: block; object-fit: cover; }
.zp .sc-shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(9, 18, 46, .92) 0%, rgba(9, 18, 46, .2) 48%, rgba(9, 18, 46, .32) 100%);
}

.zp .sc-live {
    position: absolute; top: 12px; inset-inline-start: 12px;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 3px 11px; border-radius: 999px;
    background: rgba(12, 22, 52, .62); border: 1px solid rgba(255, 255, 255, .16);
    font-size: 12px; font-weight: 700;
}
.zp .sc-live::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF5A3C;
    animation: blink 1.6s ease-in-out infinite;
}

.zp .sc-play {
    position: absolute; top: 46%; left: 50%;
    width: 70px; height: 70px; margin: -35px 0 0 -35px;
    display: grid; place-items: center; border-radius: 50%;
    background: var(--cta-gradient); color: #fff;
    box-shadow: 0 18px 40px -10px rgba(18, 183, 106, .95);
    transition: transform .35s var(--ease);
}
.zp .sc-play svg { width: 26px; height: 26px; transform: translateX(2px); }
.zp .sc-play::before,
.zp .sc-play::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .8);
    animation: ring 2.8s cubic-bezier(.2, .6, .3, 1) infinite;
}
.zp .sc-play::after { animation-delay: 1.4s; }
.zp .sc-frame:hover .sc-play { transform: scale(1.08); }

.zp .sc-cap {
    position: absolute; inset-inline: 18px; bottom: 14px;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.zp .sc-cap b { display: block; font-size: 16px; line-height: 1.5; }
.zp .sc-cap span { font-size: 12.5px; color: rgba(255, 255, 255, .75); }

.zp .time-chip {
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    padding: 3px 10px; border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    font-size: 12px; font-weight: 800;
}

@media (max-width: 991px) {
    .zp .sc-frame { transform: none; }
}
@media (max-width: 575px) {
    .zp .hero { padding: 22px 16px 24px; }
}
@media (max-width: 575px) {
    .zp .showcase { padding: 0; }
    .zp .sc-play { top: 44%; width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .zp .sc-play svg { width: 24px; height: 24px; }
    .zp .sc-cap { inset-inline: 12px; bottom: 10px; align-items: center; }
    .zp .sc-cap b { font-size: 14px; }
    .zp .sc-cap b + span { display: none; }
    .zp .sc-live { top: 8px; inset-inline-start: 8px; font-size: 11px; }
    .zp .sc-url { margin-inline-end: 0; }
}

/* ==========================================================================
   Layout
   ========================================================================== */

.zp .layout { display: grid; gap: 28px; margin-top: 24px; }
.zp .layout > main { min-width: 0; }

@media (min-width: 1200px) {
    .zp .layout { grid-template-columns: minmax(0, 1fr) 372px; align-items: start; }
    .zp .summary { position: sticky; top: var(--top); }
}

/* ---------- sticky period bar ---------- */

.zp .dur-bar {
    position: sticky; top: var(--top); z-index: 40;
    display: flex; align-items: center; gap: 10px;
    padding: 7px;
    background: var(--glass); backdrop-filter: blur(12px) saturate(1.4);
    border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-md);
    transition: opacity .3s, transform .3s;
}
.zp .dur-bar.ps-sticky-off { opacity: 0; transform: translateY(-14px); pointer-events: none; }
.zp .dur-label { padding-inline: 10px 2px; font-weight: 800; color: var(--ink); white-space: nowrap; }

@media (min-width: 1200px) {
    .zp .dur-bar { position: relative; top: auto; }
    .zp .dur-bar.ps-sticky-off { opacity: 1; transform: none; pointer-events: auto; }
    /* the pricing table has the periods in its summary */
    #zp-pricing .dur-bar:not(.upgrade-bar) { display: none; }
    #zp-pricing .dur-bar:not(.upgrade-bar) + .sec { margin-top: 0; }
}
@media (max-width: 767px) { .zp .dur-label { display: none; } }

.zp .seg { position: relative; display: flex; flex: 1; max-width: 540px; padding: 4px; border-radius: 13px; background: var(--bg); }
.zp .seg-pill {
    position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
    border-radius: 10px; background: var(--navy);
    box-shadow: 0 8px 16px -8px rgba(30, 51, 106, .8);
}
.zp .seg-pill.is-ready { transition: transform .4s var(--ease), width .4s var(--ease); }
.zp .seg button {
    position: relative; z-index: 1; flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 40px; padding: 0 8px; border: 0; border-radius: 10px;
    background: transparent; font-weight: 800; white-space: nowrap; cursor: pointer;
    transition: color .3s;
}
.zp .seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.zp .seg button.duration-active { color: #fff; }
.zp .seg .off {
    padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 20px;
    background: var(--sale); color: var(--sale-ink);
}
@media (max-width: 420px) { .zp .seg .off-word { display: none; } }

.zp .bar-tools { display: flex; gap: 6px; margin-inline-start: auto; }
.zp .zp-btn-video {
    height: 42px; padding: 0; padding-inline: 7px 16px; gap: 8px; border-radius: 12px;
    background: var(--cta-50); color: var(--cta-700); border: 1px solid var(--cta-100);
}
.zp .zp-btn-video:hover { background: var(--cta-100); }
.zp .zp-btn-video .pi { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--cta); color: #fff; }
.zp .zp-btn-video .pi svg { width: 12px; height: 12px; transform: translateX(1px); }
.zp .zp-btn-help { width: 42px; height: 42px; padding: 0; border-radius: 12px; background: var(--navy-50); color: var(--navy); font-size: 19px; }
.zp .zp-btn-help:hover { background: var(--navy-100); }
@media (max-width: 767px) {
    .zp .zp-btn-video { width: 42px; padding: 0; justify-content: center; }
    .zp .zp-btn-video .lbl { display: none; }
}

/* ---------- sections ---------- */

.zp .sec { margin-top: 24px; }
.zp .sec-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.zp .sec-num {
    width: 38px; height: 38px; flex: none; display: grid; place-items: center;
    border-radius: 12px; background: var(--navy); color: #fff; font-weight: 900; font-size: 15px;
}
.zp .sec-head h2 { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.6; color: var(--ink); }
.zp .sec-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.zp .sec-head h2 em { font-style: normal; font-size: 24px; color: #FF6E00; }

/* the line from the basic card runs down beside the heading to the first frame */
.zp .sec-head-linked { position: relative; margin: 30px 0 0; padding-inline-start: 72px; }
.zp .sec-head-linked::before,
.zp .sec-head-linked::after { content: ""; position: absolute; }
.zp .sec-head-linked::before { bottom: 100%; height: 30px; }
.zp .sec-head-linked::after { top: 0; bottom: 0; }
/* the socket on the bottom edge of the basic card, where the line starts */
.zp .mod-basic::after {
    content: ""; position: absolute; bottom: -6px; inset-inline-start: 36px;
    width: 12px; height: 12px; border-radius: 50%;
}
/* the frame under the heading continues its line, so it needs no socket of its own */
.zp .sec-head-linked + .addon-group > .sub-head-linked::after { display: none; }

.zp .sub-head { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-size: 14px; font-weight: 800; color: var(--ink); }
.zp .sub-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.zp .sub-head .cnt { padding: 0 9px; border-radius: 999px; background: var(--accent-50); color: var(--accent); font-size: 11.5px; line-height: 22px; }

/* the add-on modules hang from the basic card: a line runs down from under its icon to a "+" */
.zp .sub-head-linked { position: relative; margin-top: 30px; }
.zp .sub-head-linked::before {
    content: ""; position: absolute; bottom: 100%;
    height: 34px; margin-bottom: -4px;
}
.zp .plus-node {
    width: 30px; height: 30px; flex: none; display: grid; place-items: center;
    margin-inline-start: 27px;
    border-radius: 50%; color: #fff; font-size: 15px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--navy-600) 100%);
    box-shadow: 0 0 0 4px var(--accent-50), 0 6px 14px -6px rgba(47, 107, 255, .8);
}
.zp .plus-node .zp-i { stroke-width: 3; }
.zp .sub-hint { font-size: 12px; font-weight: 600; color: var(--muted); }

/* the "+" opens a frame that holds the add-on modules; the title sits on its top edge */
.zp .addon-group {
    position: relative;
    margin-top: 44px; padding: 28px 14px 14px;
    border: 1.5px solid transparent; border-radius: 22px;
    background:
        linear-gradient(180deg, var(--surface-2), var(--bg)) padding-box,
        linear-gradient(180deg, var(--accent) 0%, rgba(47, 107, 255, .35) 40%, rgba(47, 107, 255, .08) 100%) border-box;
}
.zp .addon-group > .sub-head-linked {
    position: absolute; top: 0; inset-inline: -1.5px 18px;
    margin: 0; translate: 0 -50%;
}
/* the socket on the edge above, where the line starts */
.zp .addon-group > .sub-head-linked::after {
    content: ""; position: absolute; top: -36px; inset-inline-start: 36px; flex: none;
    width: 12px; height: 12px; border-radius: 50%;
}
.zp .addon-group > .sub-head-linked .plus-node { box-shadow: 0 0 0 5px var(--bg), 0 6px 14px -6px rgba(47, 107, 255, .8); }
/* a bigger "+" on desktop, still centered on the same line */
@media (min-width: 992px) {
    .zp .addon-group { padding-top: 34px; }
    .zp .addon-group > .sub-head-linked .plus-node { width: 40px; height: 40px; margin-inline-start: 22px; font-size: 20px; }
}
.zp .addon-group .sub-title,
.zp .addon-group .sub-hint { padding: 0 6px; background: var(--bg); border-radius: 6px; }
.zp .sub-title { font-size: 18px; }
@media (max-width: 575px) { .zp .addon-group { padding: 26px 10px 10px; } }

/* the connectors: a thick wavy line that flows down into each "+", from a ring on the edge above.
   One wave is 18px tall and starts and ends in the middle, so it repeats for any height. */
.zp .sub-head-linked::before,
.zp .sec-head-linked::before,
.zp .sec-head-linked::after {
    inset-inline-start: 33px; width: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 0C16 4.5 16 4.5 9 9S2 13.5 9 18' fill='none' stroke='%232F6BFF' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center 0 / 18px 18px repeat-y;
    animation: wave 1.4s linear infinite;
}
.zp .mod-basic::after,
.zp .addon-group > .sub-head-linked::after {
    background: #fff; border: 3px solid var(--accent);
    box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(47, 107, 255, .25);
}
/* with the script the links are one smooth SVG wave (svg.chain, Pricing.js); the CSS lines above are only a fallback */
.zp #modules_list { position: relative; }
.zp .chain { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; overflow: visible; }
.zp .chain path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.zp .chain-track { stroke: var(--accent); stroke-width: 6.5; filter: drop-shadow(0 3px 5px rgba(47, 107, 255, .45)); }
/* short orange dashes that run down the wave; drawn on its own path, they bend with it and stay inside it */
.zp .chain-flow { stroke: #FF7A1A; stroke-width: 2.4; stroke-dasharray: 9 21; animation: chainFlow 1.3s linear infinite; }
.zp .has-chain .sub-head-linked::before,
.zp .has-chain .sec-head-linked::before,
.zp .has-chain .sec-head-linked::after { display: none; }
/* an upgrade has no basic card, so its frames are not linked */
.zp #modules_list:not(:has(.mod-basic)) .sub-head-linked::before,
.zp #modules_list:not(:has(.mod-basic)) .addon-group > .sub-head-linked::after { display: none; }
/* the rings and the "+" sit over the wave */
.zp .addon-group > .sub-head-linked { z-index: 3; }
.zp .mod-basic::after { z-index: 3; }
.zp .plus-node { position: relative; }
.zp .plus-node::after {
    content: ""; position: absolute; inset: -5px; border-radius: 50%;
    border: 1.5px dashed rgba(47, 107, 255, .55);
    animation: spinRing 8s linear infinite;
}
@media (max-width: 575px) { .zp .sub-hint { display: none; } }

/* ---------- module cards ---------- */

/* Without the script the cards sit in a grid. The script moves them into independent
   columns, so an opened card only pushes down the cards of its own column. */
.zp .mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; align-items: start; }
.zp .mods.is-cols { display: flex; align-items: flex-start; }
.zp .mods-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.zp .mod {
    position: relative; display: flex; flex-direction: column; gap: 10px;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px;
    background: var(--surface);
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.zp .mod:hover { border-color: var(--navy-200); box-shadow: var(--shadow-md); }
.zp .mod:has(.mod-chk:focus-visible),
.zp .mod:has(.mod-chk-r:focus-visible) { outline: 3px solid rgba(47, 107, 255, .4); outline-offset: 2px; }
.zp .mod.is-on {
    border-color: var(--accent);
    background: linear-gradient(180deg, var(--accent-50) 0%, var(--surface) 80%);
    box-shadow: 0 10px 22px -16px rgba(47, 107, 255, .75);
}

.zp .mod-head { display: flex; align-items: center; gap: 12px; }
.zp .mod-ico {
    width: 40px; height: 40px; flex: none; display: grid; place-items: center;
    border-radius: 11px; background: var(--navy-50); color: var(--navy); font-size: 19px;
    transition: background .25s, color .25s;
}
.zp .mod.is-on .mod-ico { background: var(--accent); color: #fff; }

.zp .mod-chk,
.zp .mod-chk-r { position: absolute; top: 16px; inset-inline-end: 16px; width: 1px; height: 1px; opacity: 0; margin: 0; }
.zp .mod-title { flex: 1; min-width: 0; font-size: 14px; font-weight: 800; line-height: 1.7; color: var(--ink); cursor: pointer; }
/* the whole card is the label of its checkbox */
.zp .mod-title::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.zp .mod-title.is-static { cursor: default; }
.zp .mod-title.is-static::after { display: none; }

.zp .mod-tick {
    width: 22px; height: 22px; flex: none; display: grid; place-items: center;
    border: 2px solid var(--line-strong); border-radius: 7px; color: #fff; font-size: 13px;
    transition: background .2s, border-color .2s;
}
.zp .mod-tick .zp-i { stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.zp .mod:hover .mod-tick { border-color: var(--navy-200); }
.zp .mod.is-on .mod-tick { background: var(--accent); border-color: var(--accent); }
.zp .mod.is-on .mod-tick .zp-i { opacity: 1; transform: none; }

.zp .mod-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.zp .zp-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 0 9px; border-radius: 999px; line-height: 22px; white-space: nowrap;
    background: var(--navy-50); color: var(--navy); font-size: 11px; font-weight: 700;
}
.zp .zp-badge .zp-i { font-size: 12px; }
.zp .zp-badge-soon { background: var(--amber-50); color: var(--amber-700); }

.zp .mod-desc { font-size: 13px; line-height: 1.95; color: var(--muted); }
.zp .mod-desc p { margin: 0; }
.zp .mod-desc p + p { margin-top: 8px; }
.zp .mod-desc strong { color: var(--text); }
.zp .mod-desc .text-danger { color: var(--red); }
.zp .mod-desc p.text-danger { padding: 8px 10px; border-radius: 10px; background: var(--red-50); font-size: 12.5px; }

.zp .mod-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line);
}
.zp .mod-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; min-width: 0; }
.zp .mod-price .price,
.zp .mod-price .qty-price { font-size: 16px; font-weight: 900; line-height: 1.6; color: var(--ink); }
.zp .mod-price .unit { font-size: 11.5px; color: var(--muted); }
.zp .mod-price s { font-size: 13.5px; font-weight: 800; color: var(--red-500); text-decoration-thickness: 1.5px; text-decoration-color: var(--red-500); }
.zp .mod-price s:empty { display: none; }
.zp .mod-price.is-empty .unit { display: none; }
.zp .mod-price.is-empty .qty-price { color: var(--muted); font-weight: 700; }
.zp .mod-hint { font-size: 11.5px; color: var(--muted); }

.zp .mod-more {
    position: relative; z-index: 2; flex: none;
    width: 30px; height: 30px; display: grid; place-items: center;
    border: 0; border-radius: 9px; background: var(--bg); color: var(--navy); font-size: 16px; cursor: pointer;
    transition: background .2s, color .2s;
}
.zp .mod-more > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zp .mod-more:hover { background: var(--navy-100); }
.zp .mod-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.zp .mod-more .zp-i { font-size: 18px; }
.zp .mod.is-open .mod-more { background: var(--navy); color: #fff; }
/* the same button drawn inside the section hint, only to show what to look for (not .mod-more : Pricing.js looks for its card) */
.zp .hint-more {
    display: inline-grid; place-items: center; vertical-align: middle;
    width: 20px; height: 20px; margin: -3px 4px 0; border-radius: 6px;
    background: var(--bg); color: var(--navy); font-size: 14px;
    /* the page is the same colour as the button, so a ring of the card colour stands in for the card under it */
    box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line);
}

/* a module in compact form: title and price, the details open under it */
.zp [data-group-list] .mod[data-module] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "ico    title  tick"
        "ico    price  more"
        "badges badges badges"
        "desc   desc   desc";
    gap: 0 12px; align-items: center;
}
.zp [data-group-list] .mod[data-module] > .mod-head,
.zp [data-group-list] .mod[data-module] > .mod-foot { display: contents; }
.zp [data-group-list] .mod[data-module] .mod-ico { grid-area: ico; }
.zp [data-group-list] .mod[data-module] .mod-title { grid-area: title; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.6; }
.zp [data-group-list] .mod[data-module] .mod-tick { grid-area: tick; justify-self: center; align-self: start; margin-top: 1px; }
.zp [data-group-list] .mod[data-module] .mod-head > .zp-badge { grid-area: tick; }
.zp [data-group-list] .mod[data-module] .mod-price { grid-area: price; align-self: end; padding-bottom: 2px; }
/* the struck price gets its own line, so every card of a list keeps the same height */
.zp [data-group-list] .mod[data-module] .mod-price s { flex-basis: 100%; line-height: 1.4; }
.zp [data-group-list] .mod[data-module] .mod-more { grid-area: more; justify-self: center; margin-top: 10px; }
.zp [data-group-list] .mod[data-module] .mod-badges { grid-area: badges; display: none; margin-top: 10px; }
.zp [data-group-list] .mod[data-module] .mod-desc {
    grid-area: desc; position: relative; z-index: 2; overflow: hidden; cursor: auto;
    max-height: 0; opacity: 0;
    transition: max-height .4s var(--ease), opacity .3s, margin .4s var(--ease), padding .4s var(--ease);
}
.zp [data-group-list] .mod.is-open .mod-title { -webkit-line-clamp: unset; }
.zp [data-group-list] .mod.is-open .mod-badges { display: flex; }
.zp [data-group-list] .mod.is-open .mod-desc { opacity: 1; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }

.zp .mod.is-soon { background: repeating-linear-gradient(-45deg, var(--surface), var(--surface) 10px, var(--surface-2) 10px, var(--surface-2) 20px); }
.zp .mod.is-soon .mod-title { color: var(--muted); cursor: not-allowed; }
.zp .mod.is-soon:hover { box-shadow: none; border-color: var(--line); }

/* the basic features: always on */

.zp .mod-basic {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "ico  head foot"
        "ico  lead foot"
        "list list list";
    gap: 2px 14px; align-items: center;
    padding: 16px 18px; border: 0; color: #fff;
    background:
        radial-gradient(500px 220px at 0% 100%, rgba(246, 196, 69, .18), transparent 70%),
        linear-gradient(120deg, var(--navy) 0%, var(--navy-600) 100%);
    box-shadow: var(--shadow-lg);
}
.zp .mod-basic.is-on { background:
        radial-gradient(500px 220px at 0% 100%, rgba(246, 196, 69, .18), transparent 70%),
        linear-gradient(120deg, var(--navy) 0%, var(--navy-600) 100%);
    box-shadow: var(--shadow-lg); }
.zp .mod-basic:hover { box-shadow: var(--shadow-lg); }
.zp .mod-basic .mod-ico,
.zp .mod-basic.is-on .mod-ico { grid-area: ico; width: 48px; height: 48px; border-radius: 14px; background: var(--yellow); color: var(--navy); font-size: 22px; }
.zp .mod-basic .mod-head { grid-area: head; gap: 10px; flex-wrap: wrap; }
.zp .mod-basic .mod-title { flex: none; color: #fff; font-size: 16px; cursor: default; }
.zp .mod-basic .mod-title::after { display: none; }
.zp .mod-basic .zp-badge { background: rgba(255, 255, 255, .14); color: #fff; }
.zp .zp-badge-on { padding-inline-start: 3px; }
.zp .zp-badge-on .ok { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: var(--cta); color: #fff; stroke-width: 3.5; }
.zp .basic-lead { grid-area: lead; margin: 0; color: rgba(255, 255, 255, .75); font-size: 13px; }
.zp .basic-lead b { color: #fff; font-size: 15px; font-weight: 700; }
/* the features in titled groups: three columns, the long group runs down the middle */
.zp .basic-groups {
    grid-area: list;
    display: grid; gap: 10px; margin-top: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "users care fin" "comm care team";
}
.zp .bg-users { grid-area: users; } .zp .bg-care { grid-area: care; } .zp .bg-comm { grid-area: comm; }
.zp .bg-fin { grid-area: fin; } .zp .bg-team { grid-area: team; }
@media (max-width: 991px) {
    .zp .basic-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "users care" "fin care" "comm team"; }
}
@media (max-width: 575px) {
    .zp .basic-groups { grid-template-columns: 1fr; grid-template-areas: "users" "care" "comm" "fin" "team"; }
}

.zp .bg-group {
    padding: 12px 14px; border-radius: 14px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.zp .bg-title {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 10px; padding-bottom: 9px; border-bottom: 1px dashed rgba(255, 255, 255, .14);
    font-size: 12.5px; font-weight: 800; color: var(--yellow);
}
.zp .bg-ico {
    width: 24px; height: 24px; flex: none; display: grid; place-items: center;
    border-radius: 8px; background: rgba(246, 196, 69, .16); color: var(--yellow); font-size: 14px;
}
.zp .basic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.zp .basic-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.75; color: rgba(255, 255, 255, .92); }
.zp .basic-list .zp-i {
    width: 16px; height: 16px; flex: none; margin-top: 3px; padding: 3px;
    border-radius: 50%; background: var(--cta); color: #fff; stroke-width: 3.5;
}
.zp .mod-basic .mod-foot { grid-area: foot; flex-direction: column; align-items: flex-end; justify-content: center; gap: 0; margin: 0; padding: 0; border: 0; }
.zp .mod-basic .mod-price {
    justify-content: flex-end; padding: 8px 16px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 24px rgba(6, 12, 30, .25);
    -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
}
.zp .mod-basic .mod-price .price { color: #fff; font-size: 20px; }
.zp .mod-basic .mod-price .unit { color: rgba(255, 255, 255, .65); }
.zp .mod-basic .mod-price s { color: #FF8F91; text-decoration-color: #FF8F91; }
@media (max-width: 575px) {
    .zp .mod-basic { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico head" "lead lead" "list list" "foot foot"; }
    .zp .basic-lead { margin-top: 8px; }
    /* the glass box of the price has its own border, so the foot has no dashed line */
    .zp .mod-basic .mod-foot { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 12px; }
    .zp .mod-basic .mod-price { flex: 1; justify-content: center; }
}

/* ---------- quantity cards ---------- */

.zp .stepper {
    position: relative; z-index: 2; flex: none;
    display: inline-flex; align-items: center; padding: 3px;
    border: 1px solid var(--line); border-radius: 11px; background: var(--bg);
}
.zp .stepper button {
    width: 28px; height: 28px; display: grid; place-items: center;
    border: 0; border-radius: 8px; background: var(--surface); color: var(--navy); font-size: 15px;
    box-shadow: var(--shadow-sm); cursor: pointer;
}
.zp .stepper button:hover:not(:disabled) { background: var(--navy); color: #fff; }
.zp .stepper button:disabled { opacity: .4; cursor: default; }
.zp .stepper input {
    width: 40px; height: 28px; padding: 0; border: 0; background: transparent;
    text-align: center; font-weight: 900; color: var(--ink);
}
.zp .stepper input:focus { outline: none; }
.zp .stepper:focus-within { border-color: var(--navy-200); }

/* title and, under it, the price of one (or the total once a count is set) */
.zp .mod-qty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "ico title stepper" "ico sub stepper";
    gap: 0 12px; align-items: center;
}
.zp .mod-qty > .mod-head,
.zp .mod-qty > .mod-foot { display: contents; }
.zp .mod-qty .mod-ico { grid-area: ico; }
.zp .mod-qty .mod-title { grid-area: title; }
.zp .mod-qty .mod-hint,
.zp .mod-qty .mod-price { grid-area: sub; line-height: 1.7; }
.zp .mod-qty .stepper { grid-area: stepper; }
.zp .mod-qty.is-on .mod-hint,
.zp .mod-qty:not(.is-on) .mod-price { display: none; }

/* ---------- extra providers ---------- */

.zp .opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 991px) { .zp .opts { grid-template-columns: 1fr; } }

.zp .opt { gap: 8px; }
.zp .opt .mod-radio {
    width: 22px; height: 22px; flex: none; display: grid; place-items: center;
    border: 2px solid var(--line-strong); border-radius: 50%;
    transition: border-color .2s;
}
.zp .opt .mod-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.zp .opt.is-on .mod-radio { border-color: var(--accent); }
.zp .opt.is-on .mod-radio::after { transform: scale(1); }
.zp .opt .mod-foot { min-height: 44px; }

/* ---------- services ---------- */

.zp .services { display: flex; flex-direction: column; gap: 14px; }

.zp .svc {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    padding: 22px; border: 1px solid; border-radius: 20px;
}
.zp .svc h3 { margin: 0; font-size: 16px; font-weight: 900; line-height: 1.6; }
.zp .svc p { margin: 0; font-size: 13.5px; line-height: 2.05; color: var(--text); }
.zp .svc .zp-btn { margin-top: auto; height: 42px; }
.zp .svc-top { display: flex; align-items: center; gap: 12px; }
.zp .svc-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; font-size: 22px; color: #fff; }
.zp .svc::after {
    content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
    inset-inline-end: -80px; top: -90px; opacity: .5; pointer-events: none;
}

.zp .svc-migrate { background: linear-gradient(150deg, #EEF3FF 0%, #fff 65%); border-color: #D3DFFB; }
.zp .svc-migrate h3 { color: var(--accent-700); }
.zp .svc-migrate .svc-ico { background: var(--accent); }
.zp .svc-migrate::after { background: radial-gradient(circle, rgba(47, 107, 255, .16), transparent 70%); }
.zp .svc-migrate .zp-btn { background: var(--accent); color: #fff; }
.zp .svc-migrate .zp-btn:hover { background: var(--accent-700); }

.zp .svc-stat { display: flex; align-items: center; gap: 8px; }
.zp .svc-stat b { font-size: 34px; font-weight: 900; line-height: 1.2; color: var(--accent); }
.zp .svc-stat span { font-size: 13px; font-weight: 700; color: var(--ink); }

.zp .svc-deploy { background: linear-gradient(150deg, #FFF8E2 0%, #fff 65%); border-color: #F3E1A6; }
.zp .svc-deploy h3 { color: var(--amber-700); }
.zp .svc-deploy .svc-ico { background: #E8A915; }
.zp .svc-deploy::after { background: radial-gradient(circle, rgba(246, 196, 69, .3), transparent 70%); }
.zp .svc-deploy .zp-btn { background: var(--yellow); color: var(--navy); }
.zp .svc-deploy .zp-btn:hover { background: #EDB52A; }

/* the on-site promise of the deployment card */
.zp .svc-promise {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 12px; border-radius: 12px;
    background: rgba(246, 196, 69, .16); border: 1px solid #F3E1A6;
}
.zp .svc .svc-promise p { font-weight: 700; color: var(--ink); line-height: 1.95; }
.zp .svc-promise-ico {
    width: 22px; height: 22px; flex: none; margin-top: 3px; display: grid; place-items: center;
    border-radius: 50%; background: #E8A915; color: #fff; font-size: 13px;
}
.zp .svc-promise-ico .zp-i { stroke-width: 3; }

/* ==========================================================================
   Order summary
   ========================================================================== */

.zp .sum-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
@media (min-width: 1200px) {
    .zp .sum-card { max-height: calc(100vh - var(--top) - 16px); overflow-y: auto; scrollbar-width: thin; }
}

.zp .sum-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 13px 16px; color: #fff;
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-600) 100%);
}
.zp .sum-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 900; }
.zp .sum-head h2 .zp-i { font-size: 20px; color: var(--yellow); }
.zp .period-chip { padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12px; font-weight: 700; line-height: 26px; }

.zp .sum-body { display: grid; gap: 11px; padding: 13px 16px 15px; }
.zp .sum-pay-col { display: grid; gap: 12px; }
@media (min-width: 768px) and (max-width: 1199px) {
    .zp .sum-body { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 28px; align-items: start; }
    .zp .sum-body > :not(.sum-pay-col) { grid-column: 2; }
    .zp .sum-pay-col { grid-column: 1; grid-row: 1 / span 3; }
}

/* the details of the order open on demand */
.zp .sum-toggle {
    display: flex; align-items: center; gap: 8px; width: 100%;
    height: 42px; padding: 0 12px; border: 1px dashed var(--line-strong); border-radius: 12px;
    background: var(--bg); color: var(--navy); font-size: 13px; font-weight: 800; cursor: pointer;
    transition: background .2s, border-color .2s;
}
.zp .sum-toggle:hover { border-color: var(--navy-200); background: var(--navy-50); }
.zp .sum-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.zp .sum-toggle .zp-i { font-size: 16px; }
.zp .sum-toggle .cnt { padding: 0 8px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 11.5px; font-weight: 700; line-height: 22px; }
.zp .sum-toggle .cnt b { color: var(--navy); }
.zp .sum-toggle .chev { margin-inline-start: auto; color: var(--muted); transition: transform .3s; }
.zp .sum-toggle[aria-expanded="true"] { border-style: solid; background: var(--surface); }
.zp .sum-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.zp .sum-details-body { margin-top: 10px; animation: detailsIn .3s var(--ease); }
.zp .sum-items-title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.zp .sum-items-title b { padding: 0 8px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: 12px; line-height: 22px; }
.zp .sum-list { list-style: none; margin: 6px 0 4px; padding: 0; max-height: 220px; overflow-y: auto; scrollbar-width: thin; }
.zp .sum-list li { display: flex; align-items: center; gap: 8px; padding: 3px 8px; border-radius: 10px; font-size: 13px; }
.zp .sum-list li:hover { background: var(--bg); }
.zp .sum-list .nm { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; color: var(--ink); }
.zp .sum-list .pr { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.zp .sum-list .rm,
.zp .sum-list .lock {
    width: 24px; height: 24px; flex: none; display: grid; place-items: center;
    border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 14px;
}
.zp .sum-list .rm { cursor: pointer; }
.zp .sum-list .rm:hover { background: var(--red-50); color: var(--red); }
.zp .sum-list .lock { font-size: 13px; opacity: .6; }

.zp .sum-rows { margin: 0; }
.zp .sum-rows > div { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px dashed var(--line); }
.zp .sum-rows dt { color: var(--muted); }
.zp .sum-rows dd { margin: 0; font-weight: 800; color: var(--ink); }
.zp .sum-rows dd small { font-weight: 500; color: var(--muted); }
.zp .sum-rows .yellowed dd { color: var(--green); }
/* the last row: what is paid, after the tax and the discounts */
.zp .sum-rows .sum-total { margin-top: 2px; padding-top: 8px; border-top: 1.5px solid var(--line-strong); }
.zp .sum-rows .sum-total dt { font-weight: 800; color: var(--ink); }
.zp .sum-rows .sum-total dd { font-size: 15px; font-weight: 900; }

.zp .ps-period-title { margin-bottom: 6px; font-weight: 800; color: var(--ink); }
.zp .ps-durations {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    padding: 5px; border-radius: 15px;
    background: #ECEFF6; border: 1px solid #DDE2EC;
    box-shadow: inset 0 1px 3px rgba(16, 24, 40, .08);
}
.zp .ps-dur {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 42px; padding: 3px 4px; border: 1.5px solid #D5DBE7; border-radius: 11px;
    background: var(--surface); color: var(--navy); font-size: 13px; font-weight: 800; cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 4px 10px -6px rgba(16, 24, 40, .3);
    transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.zp .ps-dur:hover { border-color: var(--navy-200); background: var(--navy-50); }
.zp .ps-dur:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.zp .ps-dur-off { padding: 0 7px; border-radius: 999px; background: var(--sale); color: var(--sale-ink); font-size: 10.5px; font-weight: 800; line-height: 17px; }
/* the chosen period is filled with navy */
.zp .ps-dur.active { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 8px 16px -6px rgba(30, 51, 106, .6), inset 0 1px 0 rgba(255, 255, 255, .15); }
.zp .ps-dur.active::after {
    content: ""; position: absolute; top: -6px; inset-inline-end: -6px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E336A' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .25);
}

.zp .ps-code .zp-input-group { display: flex; gap: 6px; }
.zp .ps-code input {
    flex: 1; min-width: 0; height: 44px; padding: 0 12px;
    border: 1.5px dashed var(--line-strong); border-radius: 12px; background: var(--bg);
    text-align: center; direction: ltr; letter-spacing: 1px; font-weight: 700;
}
.zp .ps-code input:focus { outline: none; border-color: var(--green); background: var(--surface); }
.zp .ps-code input::placeholder { letter-spacing: 0; font-weight: 500; direction: rtl; }
.zp .ps-code .zp-btn { height: 44px; padding: 0 14px; font-size: 13px; }
.zp .ps-code .zp-btn.is-loading { pointer-events: none; opacity: .65; }
.zp .ps-code-msg { margin: 6px 0 0; font-size: 12px; color: var(--red); }
.zp .ps-code-applied {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0; padding-inline: 12px 5px; border-radius: 999px; line-height: 32px;
    background: var(--sale); color: var(--sale-ink); font-size: 12.5px; font-weight: 800;
}
.zp .ps-code-applied button { width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.zp .ps-code-applied button:hover { background: rgba(30, 51, 106, .12); }

.zp .ps-pay {
    position: relative; overflow: hidden;
    padding: 13px 16px; border: 1px solid var(--cta-100); border-radius: 18px;
    background: linear-gradient(160deg, var(--cta-50) 0%, var(--surface) 65%);
}
/* the struck price and the percent above, then the amount to pay with the note of its tax */
.zp .ps-pay-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zp .ps-pay-head:not(:has(> :not([hidden]))) { display: none; }
.zp .ps-save {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 0 10px; border-radius: 999px; line-height: 24px;
    background: var(--sale); color: var(--sale-ink); font-size: 12px; font-weight: 700;
}
.zp .ps-save .zp-i { font-size: 13px; }
/* the price before the discounts: big, red, struck */
.zp .ps-was { font-size: 19px; font-weight: 900; line-height: 1.5; color: var(--red-500); }
.zp .ps-was s { text-decoration-thickness: 2px; text-decoration-color: var(--red-500); }
.zp .ps-was small { font-size: 12.5px; font-weight: 700; }
.zp .ps-final { margin-top: 2px; }
.zp .ps-now { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.zp .ps-now .money-amount { font-size: 28px; font-weight: 900; line-height: 1.5; color: var(--ink); }
.zp .ps-now small { color: var(--muted); font-size: 13px; }
.zp .ps-tax-note { margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.zp .ps-parts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.zp .ps-part { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 11.5px; line-height: 22px; }
.zp .ps-code-off { margin-top: 8px; font-size: 12px; color: var(--amber-700); }
.zp .ps-bump { animation: bump .45s var(--ease); }

.zp .pd-start-buttons { display: grid; gap: 7px; }
.zp .pd-start-buttons .zp-btn { height: 48px; font-size: 15px; }
.zp .pd-start-buttons .zp-btn-purchase { font-size: 16px; font-weight: 600; }
.zp .pd-btn-ico { display: inline-grid; }
.zp .pd-btn-ico svg { width: 22px; height: 22px; }
.zp .zp-btn-trial-start { background: var(--surface); color: var(--navy); border-color: var(--navy-200); }
.zp .zp-btn-trial-start:hover { border-color: var(--navy); background: var(--navy-50); }

/* ---------- mobile pay bar ---------- */

.zp .paybar {
    position: fixed; inset-inline: 12px; bottom: 12px; z-index: 50;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 10px 10px 10px; padding-inline-start: 18px;
    border-radius: 18px; color: #fff;
    background: rgba(20, 37, 82, .96); backdrop-filter: blur(10px);
    box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .55);
    transition: transform .4s var(--ease), opacity .4s;
}
.zp .paybar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.zp .pb-info { flex: 1; min-width: 0; line-height: 1.5; }
.zp .pb-label { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .65); }
.zp .pb-amount { font-size: 18px; font-weight: 900; }
.zp .pb-amount small { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.zp .pb-save { margin-inline-start: 6px; padding: 0 8px; border-radius: 999px; background: var(--sale); color: var(--sale-ink); font-size: 11px; font-weight: 800; line-height: 20px; vertical-align: 2px; }
.zp .paybar .zp-btn { height: 44px; padding: 0 16px; }
@media (min-width: 1200px) { .zp .paybar { display: none; } }

/* ---------- toast ---------- */

.zp-toast {
    position: fixed; left: 50%; bottom: 92px; z-index: 120;
    display: flex; align-items: center; gap: 8px;
    max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 14px;
    background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
    transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .35s;
}
.zp-toast .zp-i { color: #3DD68C; font-size: 18px; stroke-width: 2.5; }
.zp-toast.is-show { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 1200px) { .zp-toast { bottom: 28px; } }

/* ---------- motion ---------- */

@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.95); opacity: 0; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes bump { 40% { transform: scale(1.02); } }
@keyframes theaterIn { from { opacity: 0; transform: translateY(28px) scale(.96); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes wave { to { background-position: center 18px; } }
@keyframes spinRing { to { transform: rotate(360deg); } }
@keyframes chainFlow { to { stroke-dashoffset: -30; } }
@keyframes detailsIn { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
    .zp *,
.zp *::before,
.zp *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    
    .zp .sc-frame { transform: none; }
}

/* ==========================================================================
   Zhenic additions
   ========================================================================== */

@media (max-width: 991px) { .zp { --top: 65px; } }

.zp .sec-head h2, .zp .sub-head, .zp h1, .zp h3 { font-family: var(--font); }
.zp label { margin: 0; }
.zp [id] { scroll-margin-top: calc(var(--top) + 70px); }

/* the extra providers cost as much as the unlimited ones */
.zp .opt-nudge {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 6px 10px; border-radius: 10px;
    background: var(--amber-50); color: var(--amber-700); font-size: 12px; font-weight: 700;
}
.zp .opt-nudge button {
    margin-inline-start: auto; padding: 0 10px; border: 0; border-radius: 999px; line-height: 24px;
    background: var(--yellow); color: var(--navy); font-size: 11.5px; font-weight: 800; cursor: pointer;
}

/* print the quote, the official invoice */
.zp .sum-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.zp .sum-print {
    display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; height: 36px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--navy);
    font-size: 12.5px; font-weight: 800; cursor: pointer;
}
.zp .sum-print:hover { border-color: var(--navy-200); background: var(--navy-50); }
.zp .sum-print.is-loading { pointer-events: none; opacity: .65; }
.zp .ps-invoice { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.zp .ps-invoice input { width: 18px; height: 18px; accent-color: var(--navy); }

/* the buttons of the purchase pages of the panel */
.zp .pd-start-buttons .zp-btn-info { background: var(--navy); color: #fff; }
.zp .pd-start-buttons .zp-btn-info:hover { background: var(--navy-600); }
.zp .zp-btn.is-loading { pointer-events: none; opacity: .65; }


/* a compact summary on the desktop, so it fits the screen of a laptop without a scroll
   (after the rules of the summary, to win over them) */
@media (min-width: 1200px) {
    .zp .sum-head { padding: 10px 16px; }
    .zp .sum-body { gap: 8px; padding: 10px 14px 12px; }
    .zp .sum-pay-col { gap: 8px; }
    .zp .ps-pay { padding: 10px 14px; }
    .zp .ps-code input,
    .zp .ps-code .zp-btn { height: 40px; }
    .zp .pd-start-buttons { gap: 6px; }
    .zp .pd-start-buttons .zp-btn { height: 44px; }
    .zp .sum-toggle { height: 38px; }
    .zp .sum-print { height: 32px; }
}

/* ---------- dark theme ---------- */

html[data-theme=dark] .zp {
    --navy-200: #3A4A78;
    --navy-100: #2B3760;
    --navy-50: #232B48;
    --accent-100: #22305C;
    --accent-50: #1C2544;
    --cta-100: #1E4A38;
    --cta-50: #17302A;
    --amber-50: #3A3220;
    --amber-700: #F6C445;
    --green-50: #183528;
    --green: #3DD68C;
    --red-50: #3A2024;
    --red: #FF8F91;
    --ink: #FFFFFF;
    --text: #CDCDDE;
    --muted: #8D8DA6;
    --line: #2B2B40;
    --line-strong: #3A3A55;
    --bg: #151521;
    --surface: #1E1E2D;
    --surface-2: #1B1B29;
    --glass: rgba(30, 30, 45, .92);
    --shadow-md: 0 10px 28px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 28px 60px -24px rgba(0, 0, 0, .7);
}
html[data-theme=dark] .zp .mod-ico,
html[data-theme=dark] .zp .sum-toggle,
html[data-theme=dark] .zp .sum-toggle .cnt b,
html[data-theme=dark] .zp .sum-items-title b,
html[data-theme=dark] .zp .mod-more,
html[data-theme=dark] .zp .hint-more,
html[data-theme=dark] .zp .stepper button,
html[data-theme=dark] .zp .sum-print,
html[data-theme=dark] .zp .zp-btn-help,
html[data-theme=dark] .zp .zp-btn-outline,
html[data-theme=dark] .zp .zp-btn-trial-start,
html[data-theme=dark] .zp .zp-badge { color: #DCE4F5; }
html[data-theme=dark] .zp .seg-pill,
html[data-theme=dark] .zp .ps-dur.active,
html[data-theme=dark] .zp .sec-num { background: var(--navy-600); border-color: var(--navy-600); }
html[data-theme=dark] .zp .svc-migrate { background: linear-gradient(150deg, #1C2544 0%, var(--surface) 65%); border-color: #2B3760; }
html[data-theme=dark] .zp .svc-migrate h3 { color: #A9C4FF; }
html[data-theme=dark] .zp .svc-deploy { background: linear-gradient(150deg, #3A3220 0%, var(--surface) 65%); border-color: #4A3F22; }
html[data-theme=dark] .zp .svc-stat b { color: #A9C4FF; }
html[data-theme=dark] .zp .mod-desc p.text-danger { color: #FF8F91; }
html[data-theme=dark] .zp .ps-durations { background: var(--bg); border-color: var(--line); }
html[data-theme=dark] .zp .ps-dur { border-color: var(--line-strong); color: #DCE4F5; }
html[data-theme=dark] .zp .svc-promise { border-color: #4A3F22; }

/* the sections are numbered in their order, a page may not have all of them */
.zp main { counter-reset: zp-sec; }
.zp .sec-num::before { counter-increment: zp-sec; content: counter(zp-sec, persian); }

/* ---------- the upgrade of a clinic ---------- */

.zp .upgrade-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.zp .upgrade-bar .ub-title { font-weight: 900; color: var(--ink); }
.zp .upgrade-bar .ub-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-inline-start: auto; }
.zp .upgrade-bar .ub-fact {
    display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 999px; line-height: 30px;
    background: var(--bg); color: var(--text); font-size: 12.5px; font-weight: 700;
}
.zp .upgrade-bar .ub-fact b { color: var(--navy); font-weight: 900; }
html[data-theme=dark] .zp .upgrade-bar .ub-fact b { color: #A9C4FF; }
.zp .mod-current { font-size: 11.5px; font-weight: 700; color: var(--green); }
.zp .mod-qty .mod-current, .zp .opt .mod-current { grid-column: 2 / -1; }

/* ---------- the rows of an invoice (renewal, purchase of a trial) ---------- */

.zp .inv-rows { display: grid; gap: 10px; }
.zp .inv-row {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.zp .inv-title b { display: block; font-weight: 800; color: var(--ink); line-height: 1.7; }
.zp .inv-sub { font-size: 12px; color: var(--muted); }
.zp .inv-row .mod-price { justify-content: flex-end; text-align: end; }
.zp .inv-row .mod-price s { flex-basis: 100%; }
@media (max-width: 575px) {
    .zp .inv-row { grid-template-columns: auto minmax(0, 1fr); }
    .zp .inv-row .mod-price { grid-column: 1 / -1; justify-content: flex-start; }
}

.zp .ps-invoice { align-items: flex-start; line-height: 1.8; }
.zp .ps-invoice input { flex: none; margin-top: 3px; }
.zp .ps-invoice a { color: var(--accent); font-weight: 800; }
.zp a.sum-print { text-decoration: none; }
.zp a.zp-btn { text-decoration: none; }

/* ---------- the buyer of the official invoice (_OfficialBuyer.cshtml) ---------- */

.zp.zp-official { display: grid; gap: 6px; background: transparent; }
.zp .ob-summary {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 6px 10px; border-radius: 10px; background: var(--bg); font-size: 12.5px; color: var(--text);
}
.zp .ob-summary-text { flex: 1; min-width: 0; }
.zp .ob-sum-id { color: var(--muted); }
.zp .ob-edit {
    padding: 0 10px; border: 0; border-radius: 999px; line-height: 24px;
    background: var(--accent-50); color: var(--accent-700); font-size: 11.5px; font-weight: 800; cursor: pointer;
}

.zp .ob-dialog {
    width: min(620px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px);
    padding: 0; border: 0; border-radius: 22px; overflow: auto;
    background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg);
}
.zp .ob-dialog::backdrop { background: rgba(6, 12, 30, .6); backdrop-filter: blur(4px); }
.zp .ob-dialog[open] { animation: theaterIn .35s var(--ease); }
.zp .ob-form { margin: 0; padding: 18px 20px 20px; }
.zp .ob-head { display: flex; align-items: center; gap: 10px; }
.zp .ob-head h3 { flex: 1; margin: 0; font-size: 16px; font-weight: 900; color: var(--ink); }
.zp .ob-close { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--bg); color: var(--text); cursor: pointer; }
.zp .ob-lead { margin: 6px 0 14px; font-size: 12.5px; color: var(--muted); }

.zp .ob-type { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg); margin-bottom: 14px; }
.zp .ob-type label { flex: 1; margin: 0; cursor: pointer; }
.zp .ob-type input { position: absolute; opacity: 0; pointer-events: none; }
.zp .ob-type span { display: block; padding: 8px; border-radius: 9px; text-align: center; font-weight: 800; color: var(--text); transition: background .2s, color .2s; }
.zp .ob-type input:checked + span { background: var(--navy); color: #fff; }
.zp .ob-type input:focus-visible + span { outline: 2px solid var(--accent); }

.zp .ob-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zp .ob-span-2 { grid-column: 1 / -1; }
@media (max-width: 575px) { .zp .ob-fields { grid-template-columns: 1fr; } }
.zp .ob-field label { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.zp .ob-field label i { font-style: normal; color: var(--red-500); }
.zp .ob-field label small { color: var(--muted); font-weight: 500; }
.zp .ob-field input {
    width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px;
    background: var(--surface); color: var(--ink);
}
.zp .ob-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-50); }
.zp .ob-field input.ltr { direction: ltr; text-align: left; }
.zp .ob-error { margin: 12px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--red-50); color: var(--red); font-size: 12.5px; }
.zp .ob-actions { display: flex; gap: 8px; margin-top: 16px; }
.zp .ob-actions .zp-btn { height: 44px; }

/* the support chat of the pay bar */
.zp .pb-chat {
    width: 44px; height: 44px; flex: none; display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px;
    background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; cursor: pointer;
}
.zp .pb-chat:hover { background: rgba(255, 255, 255, .18); }
.zp .pb-chat:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
