/* PWA-0H3-R4-R2 UNIVERSAL INSTALL EXPERIENCE */

@font-face {
    font-family: 'Vazirmatn';
    src: url('/fonts/vazirmatn/Vazirmatn-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.k-pwa-install-card,
.k-pwa-install-guide {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

.k-pwa-install-card[hidden],
.k-pwa-guide-direct-install[hidden] {
    display: none !important;
}

.k-pwa-install-card {
    position: fixed;
    z-index: 2147483000;
    right: 18px;
    bottom: 18px;
    width: min(420px, calc(100vw - 36px));
    padding: 18px;
    direction: rtl;
    overflow: hidden;
    color: #17221e;
    background: rgba(255,255,255,.985);
    border: 1px solid rgba(30,91,69,.14);
    border-radius: 24px;
    box-shadow:
        0 22px 70px rgba(17,39,31,.20),
        0 4px 16px rgba(17,39,31,.09);
}

.k-pwa-install-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        #b88a2b,
        #e3c36e,
        #1d694e
    );
}

.k-pwa-install-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.k-pwa-install-card__icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 15px;
    object-fit: cover;
}

.k-pwa-install-card__copy {
    min-width: 0;
    flex: 1;
}

.k-pwa-install-card__eyebrow {
    margin: 0 0 2px;
    color: #1b6a4c;
    font-size: 12px;
    font-weight: 800;
}

.k-pwa-install-card__title {
    margin: 0;
    color: #14231d;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 900;
}

.k-pwa-install-card__detected {
    display: inline-flex;
    margin-top: 6px;
    padding: 3px 8px;
    color: #675726;
    background: #faf2da;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.k-pwa-install-card__text {
    margin: 10px 0 0;
    color: #53645d;
    font-size: 13px;
    line-height: 1.9;
}

.k-pwa-install-card__close {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 0;
    border-radius: 11px;
    background: #eef3f0;
    color: #41524b;
    cursor: pointer;
    font: inherit;
    font-size: 18px;
}

.k-pwa-install-card__actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    margin-top: 14px;
}

.k-pwa-install-card__primary,
.k-pwa-install-card__guide,
.k-pwa-guide-direct-install,
.k-pwa-install-guide__back {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 13px;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.k-pwa-install-card__primary,
.k-pwa-guide-direct-install {
    border: 0;
    color: #fff;
    background: #195f45;
}

.k-pwa-install-card__guide {
    color: #315247;
    background: #fff;
    border: 1px solid #d7e1dc;
}

.k-pwa-install-guide {
    min-height: 100vh;
    margin: 0;
    direction: rtl;
    color: #16231e;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(199,162,79,.17),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 6%,
            rgba(41,112,83,.17),
            transparent 30%
        ),
        #eef4f1;
}

.k-pwa-install-guide * {
    box-sizing: border-box;
}

.k-pwa-install-guide__shell {
    width: min(1100px, calc(100% - 28px));
    margin: 0 auto;
    padding: 34px 0 56px;
}

.k-pwa-install-guide__hero {
    padding: clamp(24px, 5vw, 46px);
    color: #fff;
    background: linear-gradient(
        145deg,
        #153e31,
        #1d694e
    );
    border-radius: 30px;
    box-shadow: 0 24px 75px rgba(14,55,41,.20);
}

.k-pwa-install-guide__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.k-pwa-install-guide__logo {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    object-fit: cover;
    background: #fff;
}

.k-pwa-install-guide__brand strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
}

.k-pwa-install-guide__brand span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
}

.k-pwa-install-guide__hero h1 {
    margin: 28px 0 8px;
    font-size: clamp(27px, 5vw, 43px);
    line-height: 1.45;
    font-weight: 900;
}

.k-pwa-install-guide__hero p {
    max-width: 820px;
    margin: 0;
    color: rgba(255,255,255,.80);
    line-height: 2;
}

.k-pwa-install-guide__detected,
.k-pwa-install-guide__status {
    display: none;
    margin-top: 16px;
    padding: 12px 15px;
    color: #fff;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    line-height: 1.8;
}

.k-pwa-install-guide__detected.is-visible,
.k-pwa-install-guide__status.is-visible {
    display: block;
}

.k-pwa-install-guide__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.k-pwa-install-guide__back {
    color: #173e31;
    background: #fff;
}

.k-pwa-guide-direct-install {
    color: #2b281a;
    background: #e4bd62;
}

.k-pwa-install-guide__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
    margin-top: 22px;
}

.k-pwa-install-platform {
    position: relative;
    padding: 22px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(28,92,68,.10);
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(30,66,52,.08);
}

.k-pwa-install-platform.is-recommended {
    border-color: rgba(189,142,46,.72);
    box-shadow:
        0 0 0 3px rgba(189,142,46,.11),
        0 15px 42px rgba(30,66,52,.11);
}

.k-pwa-install-platform__recommended {
    display: none;
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 9px;
    color: #77591c;
    background: #fbf1d6;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.k-pwa-install-platform.is-recommended
.k-pwa-install-platform__recommended {
    display: inline-flex;
}

.k-pwa-install-platform h2 {
    margin: 4px 0 8px;
    font-size: 20px;
    font-weight: 900;
}

.k-pwa-install-platform p,
.k-pwa-install-platform li {
    color: #46574f;
    font-size: 14px;
    line-height: 1.95;
}

.k-pwa-install-platform ol {
    padding-right: 20px;
}

.k-pwa-install-guide__note {
    margin-top: 18px;
    padding: 18px 20px;
    color: #53645d;
    background: #fff;
    border-radius: 20px;
    line-height: 2;
}

@media (max-width: 760px) {
    .k-pwa-install-card {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        border-radius: 20px;
    }

    .k-pwa-install-card__actions,
    .k-pwa-install-guide__grid {
        grid-template-columns: 1fr;
    }

    .k-pwa-install-guide__shell {
        width: calc(100% - 20px);
        padding-top: 10px;
    }

    .k-pwa-install-guide__hero {
        border-radius: 22px;
    }

    .k-pwa-install-guide__hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media print {
    .k-pwa-install-card {
        display: none !important;
    }
}
/* PWA-0H4-R3 KAKTOOS SITE-MATCHED INSTALL GUIDE */

.k-pwa-install-guide {
    margin: 0;
    min-height: 100vh;
    direction: rtl;
    text-align: right;
    color: #24142f;
    background: #f6f3f8;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

.k-pwa-install-guide * {
    box-sizing: border-box;
}

.k-pwa-install-guide__shell {
    width: min(1180px, calc(100% - 32px));
    margin: 30px auto 48px;
    padding: 0;
}

.k-pwa-install-guide__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 5vw, 44px);
    color: #fff;
    background:
        radial-gradient(
            circle at 12% 4%,
            rgba(255,255,255,.14),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #5A3472,
            #3f2452
        );
    border: 1px solid rgba(90,52,114,.18);
    border-radius: 30px;
    box-shadow: 0 18px 46px rgba(36,20,47,.12);
}

.k-pwa-install-guide__hero::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    left: -80px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}

.k-pwa-install-guide__brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.k-pwa-install-guide__logo {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    object-fit: cover;
    background: #fff;
    border: 3px solid rgba(255,255,255,.25);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.k-pwa-install-guide__brand strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.k-pwa-install-guide__brand span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 750;
}

.k-pwa-install-guide__hero h1 {
    position: relative;
    z-index: 1;
    margin: 26px 0 8px;
    color: #fff;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 950;
    line-height: 1.6;
}

.k-pwa-install-guide__hero > p {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    font-weight: 700;
    line-height: 2.15;
}

.k-pwa-install-guide__detected,
.k-pwa-install-guide__status {
    position: relative;
    z-index: 1;
    display: none;
    margin-top: 15px;
    padding: 11px 14px;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.9;
}

.k-pwa-install-guide__detected.is-visible,
.k-pwa-install-guide__status.is-visible {
    display: block;
}

.k-pwa-install-guide__hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.k-pwa-guide-direct-install,
.k-pwa-install-guide__back {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
}

.k-pwa-guide-direct-install {
    color: #5A3472;
    background: #fff;
    border: 0;
}

.k-pwa-install-guide__back {
    color: #fff;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22);
}

.k-pwa-install-quick-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 18px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(90,52,114,.13);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(36,20,47,.06);
}

.k-pwa-install-quick-note__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3e8ff;
    border-radius: 13px;
    font-size: 20px;
}

.k-pwa-install-quick-note strong {
    color: #5A3472;
    font-size: 15px;
    font-weight: 950;
}

.k-pwa-install-quick-note p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    line-height: 2;
}

.k-pwa-install-platform-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(90,52,114,.13);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(36,20,47,.05);
}

.k-pwa-install-platform-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 13px;
    color: #5A3472;
    background: #f7f1fb;
    border: 1px solid rgba(90,52,114,.10);
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 900;
    text-decoration: none;
}

.k-pwa-install-platform-nav a:hover {
    color: #fff;
    background: #5A3472;
}

.k-pwa-install-platform {
    position: relative;
    margin-top: 20px;
    padding: 22px;
    background: linear-gradient(
        180deg,
        #fcfbff 0%,
        #fff 100%
    );
    border: 1px solid rgba(90,52,114,.14);
    border-radius: 30px;
    box-shadow: 0 18px 46px rgba(36,20,47,.08);
    scroll-margin-top: 24px;
}

.k-pwa-install-platform.is-recommended {
    border-color: rgba(90,52,114,.55);
    box-shadow:
        0 0 0 3px rgba(90,52,114,.08),
        0 18px 46px rgba(36,20,47,.10);
}

.k-pwa-install-platform__heading {
    margin-bottom: 17px;
}

.k-pwa-install-platform__heading h2 {
    margin: 5px 0 4px;
    color: #24142f;
    font-size: 22px;
    font-weight: 950;
    line-height: 1.8;
}

.k-pwa-install-platform__heading p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    line-height: 2;
}

.k-pwa-install-platform__recommended {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: none;
    width: fit-content;
    margin-bottom: 6px;
    padding: 5px 10px;
    color: #5A3472;
    background: #f3e8ff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
}

.k-pwa-install-platform.is-recommended
.k-pwa-install-platform__recommended {
    display: inline-flex;
}

.k-pwa-browser-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.k-pwa-browser-guide {
    align-self: start;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ebe3ef;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(36,20,47,.05);
}

.k-pwa-browser-guide[open] {
    border-color: rgba(90,52,114,.22);
}

.k-pwa-browser-guide summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    color: #24142f;
    background: #fff;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    list-style: none;
}

.k-pwa-browser-guide summary::-webkit-details-marker {
    display: none;
}

.k-pwa-browser-guide summary::after {
    content: '＋';
    margin-right: auto;
    color: #5A3472;
    font-size: 19px;
    font-weight: 800;
}

.k-pwa-browser-guide[open] summary::after {
    content: '−';
}

.k-pwa-browser-guide summary small {
    padding: 4px 8px;
    color: #5A3472;
    background: #f3e8ff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.k-pwa-browser-guide ol {
    margin: 0;
    padding: 2px 44px 16px 16px;
    counter-reset: install-step;
    list-style: none;
}

.k-pwa-browser-guide li {
    position: relative;
    margin-top: 10px;
    padding: 0 4px 0 0;
    color: #4b4450;
    font-size: 13px;
    font-weight: 700;
    line-height: 2;
    counter-increment: install-step;
}

.k-pwa-browser-guide li::before {
    content: counter(install-step);
    position: absolute;
    right: -34px;
    top: 2px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #5A3472;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 950;
}

.k-pwa-browser-guide b,
.k-pwa-browser-guide strong {
    color: #5A3472;
    font-weight: 950;
}

.k-pwa-browser-guide__tip {
    margin: 0 14px 15px;
    padding: 11px 13px;
    color: #735c12;
    background: #fff8df;
    border: 1px solid #f3dfa0;
    border-radius: 13px;
    font-size: 11.5px;
    font-weight: 750;
    line-height: 2;
}

.k-pwa-install-troubleshooting {
    margin-top: 20px;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(90,52,114,.14);
    border-radius: 26px;
    box-shadow: 0 14px 36px rgba(36,20,47,.06);
}

.k-pwa-install-troubleshooting__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.k-pwa-install-troubleshooting__title > span {
    font-size: 26px;
}

.k-pwa-install-troubleshooting h2 {
    margin: 0;
    color: #24142f;
    font-size: 19px;
    font-weight: 950;
}

.k-pwa-install-troubleshooting p {
    margin: 3px 0 0;
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 700;
}

.k-pwa-install-troubleshooting ol {
    margin: 16px 0 0;
    padding-right: 23px;
}

.k-pwa-install-troubleshooting li {
    margin-top: 8px;
    color: #4b4450;
    font-size: 13px;
    font-weight: 700;
    line-height: 2;
}

.k-pwa-install-guide__note {
    margin-top: 20px;
    padding: 20px;
    color: #4b4450;
    background: #fff;
    border: 1px solid rgba(90,52,114,.14);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(36,20,47,.05);
    line-height: 2;
}

.k-pwa-install-guide__note strong {
    color: #5A3472;
    font-size: 15px;
    font-weight: 950;
}

.k-pwa-install-guide__note p {
    margin: 7px 0 0;
    font-size: 12.5px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .k-pwa-install-guide__shell {
        width: calc(100% - 20px);
        margin-top: 14px;
    }

    .k-pwa-install-guide__hero {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .k-pwa-install-guide__hero h1 {
        font-size: 24px;
    }

    .k-pwa-install-guide__hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .k-pwa-guide-direct-install,
    .k-pwa-install-guide__back {
        width: 100%;
    }

    .k-pwa-install-platform-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .k-pwa-install-platform-nav a {
        text-align: center;
    }

    .k-pwa-install-platform {
        padding: 16px;
        border-radius: 22px;
    }

    .k-pwa-browser-grid {
        grid-template-columns: 1fr;
    }

    .k-pwa-browser-guide summary {
        padding: 13px;
    }

    .k-pwa-browser-guide summary small {
        white-space: normal;
    }
}

@media (max-width: 430px) {
    .k-pwa-install-platform-nav {
        grid-template-columns: 1fr;
    }

    .k-pwa-install-quick-note {
        padding: 15px;
    }

    .k-pwa-install-guide__brand {
        align-items: flex-start;
    }

    .k-pwa-install-guide__logo {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }
}