@layer kz-mobile-layout {
    html[lang="kk"] #pfn-header .pf-country-picker .pf-country-list a[aria-current="page"] {
        display: grid !important;
        grid-template-columns: 26px minmax(0, 1fr) 12px !important;
        column-gap: 8px;
        row-gap: 2px;
    }

    html[lang="kk"] #pfn-header .pf-country-picker .pf-country-list a[aria-current="page"] .pf-country-row-flag {
        grid-area: 1 / 1 / span 2;
    }

    html[lang="kk"] #pfn-header .pf-country-picker .pf-country-list a[aria-current="page"] .pf-country-current {
        grid-area: 2 / 2;
        justify-self: start;
    }

    html[lang="kk"] #pfn-header .pf-country-picker .pf-country-list a[aria-current="page"] .pf-country-arrow {
        grid-area: 1 / 3 / span 2;
    }

    @media (max-width: 560px) {
        html[lang="kk"] #pfn-header .pf-country-picker .pf-country-list a[aria-current="page"] {
            grid-template-columns: 26px minmax(0, 1fr) !important;
        }

        html[lang="kk"] #pfn-header .pf-country-picker .pf-country-list a {
            padding-inline: 6px !important;
            column-gap: 6px !important;
        }

        html[lang="kk"] #pfn-header .pf-country-picker .pf-country-name {
            white-space: normal !important;
            overflow-wrap: anywhere !important;
        }

        html[lang="kk"] #pf-home .hp-guide-studio .hp-guide-shortcuts {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }

        html[lang="kk"] #pf-home .hp-guide-shortcuts > a {
            min-inline-size: 0;
            text-align: center;
            white-space: normal !important;
            overflow-wrap: anywhere;
        }

        html[lang="kk"] #pf-home .hp-guide-shortcuts > a:last-child,
        html[lang="kk"] #pf-home .pfx-app-feats > li[data-pfx-feat="tools"] {
            grid-column: 1 / -1 !important;
        }

        html[lang="kk"]:has(link[rel="canonical"]:is([href="https://perafix.com/kz/"], [href="https://perafix.com/kz/app/"]))
            main .hp-app-card[href="/kz/app/ios/"],
        html[lang="kk"] .pfx-ft-stores .pfx-ft-store[href="/kz/app/ios/"] {
            padding-inline: 8px !important;
            column-gap: 6px !important;
        }

        html[lang="kk"]:has(link[rel="canonical"]:is([href="https://perafix.com/kz/"], [href="https://perafix.com/kz/app/"]))
            main .hp-app-card[href="/kz/app/ios/"] .pf-store-copy strong,
        html[lang="kk"] .pfx-ft-stores .pfx-ft-store[href="/kz/app/ios/"] .pf-store-copy strong {
            font-size: 13px !important;
            line-height: 1.18 !important;
            white-space: normal !important;
            overflow-wrap: anywhere !important;
        }

        html[lang="kk"]:has(link[rel="canonical"][href="https://perafix.com/kz/blog/airfel-daikin-kombi-11-67-hj-08-hj-09/"])
            main .ep-article h1 {
            font-size: clamp(26px, 7.5vw, 34px) !important;
        }
    }
}
