:root {
    --krf-blue: #0076df;
    --krf-blue-2: #2563eb;
    --krf-navy: #111827;
    --krf-text: #343434;
    --krf-muted: #6b7280;
    --krf-line: #eeeeee;
    --krf-footer: #111827;
    --krf-soft: #eef4ff;
    --krf-container: 1504rem;
}

* { box-sizing: border-box; }
html { font-size: calc(100vw / 1920); scroll-behavior: smooth; }
body { margin: 0; color: var(--krf-text); background: #fff; font-family: Montserrat, Arial, Helvetica, sans-serif; font-size: 16rem; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.krf-container { width: var(--krf-container); max-width: calc(100% - 40rem); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.krf-skip-link:focus { position: fixed !important; left: 16rem; top: 16rem; z-index: 1000; width: auto; height: auto; margin: 0; padding: 12rem 16rem; overflow: visible; clip: auto; white-space: normal; border-radius: 8rem; background: #fff; color: #111827; box-shadow: 0 8rem 24rem rgba(0,0,0,.16); font-weight: 600; }
body.krf-lock { overflow: hidden; }

.krf-header { position: relative; z-index: 100; height: 162rem; background: #fff; font-family: Inter, Arial, Helvetica, sans-serif; }
.krf-header__top { height: 57rem; border-bottom: 1px solid #eeeeee; }
.krf-header__top-inner { height: 44rem; padding-top: 6rem; display: flex; align-items: center; justify-content: space-between; }
.krf-top-links { margin: 0; padding: 0 0 0 8rem; list-style: none; display: flex; gap: 23rem; align-items: center; }
.krf-top-links a { color: #555; font-size: 16rem; line-height: 19rem; font-weight: 700; white-space: nowrap; }
.krf-header__contacts { display: flex; align-items: center; gap: 17rem; min-height: 43rem; }
.krf-header__hours { color: #555; font-size: 16rem; line-height: 19rem; font-weight: 400; white-space: nowrap; }
.krf-header__phone { color: #353535; font-size: 16rem; line-height: 19rem; font-weight: 700; white-space: nowrap; }
.krf-header__messenger { width: 30rem; height: 30rem; flex: 0 0 30rem; display: block; }
.krf-header__messenger + .krf-header__messenger { margin-left: -9rem; }
.krf-header__messenger img { width: 30rem; height: 30rem; transition: transform .18s ease; }
.krf-header__messenger:hover img, .krf-header__messenger:focus-visible img { transform: translateY(-2rem); }
.krf-header__callback { height: 43rem; min-width: 188rem; margin-left: 13rem; padding: 0 14rem; display: inline-flex; align-items: center; justify-content: center; gap: 6rem; border-radius: 10rem; background: #0076df; color: #fff; font-size: 16rem; line-height: 19rem; font-weight: 500; white-space: nowrap; }
.krf-header__callback img { width: 15rem; height: 16rem; object-fit: contain; }

.krf-header__main { height: 83rem; }
.krf-header__main-inner { height: 50rem; margin-top: 16rem; display: flex; align-items: center; }
.krf-header__brand { width: 494rem; height: 50rem; display: flex; align-items: center; gap: 40rem; flex: 0 0 494rem; }
.krf-logo { width: 172rem; flex: 0 0 172rem; display: block; }
.krf-logo img { width: 172rem; height: auto; }
.krf-header__tagline { width: 282rem; color: #555; font-size: 16rem; line-height: 19rem; font-weight: 500; }
.krf-search { position: relative; width: 399rem; height: 45rem; margin-left: 216rem; flex: 0 0 399rem; }
.krf-search input { width: 100%; height: 45rem; padding: 0 58rem 0 16rem; border: 0; outline: none; border-radius: 10rem; background: #eef4ff; color: #333; font-family: Inter, Arial, sans-serif; font-size: 16rem; line-height: 19rem; }
.krf-search input::placeholder { color: #717171; opacity: 1; }
.krf-search button { position: absolute; right: 8rem; top: 3rem; width: 38rem; height: 38rem; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.krf-search button img { width: 38rem; height: 38rem; }
.krf-header__actions { margin-left: auto; height: 50rem; display: flex; align-items: center; gap: 15rem; }
.krf-mobile-search-toggle, .krf-burger { display: none; }
.krf-action { position: relative; width: 50rem; height: 50rem; flex: 0 0 50rem; display: grid; place-items: center; border-radius: 999rem; background: rgba(37,99,235,.10); transition: transform .18s ease, background-color .18s ease; }
.krf-action:hover, .krf-action:focus-visible { transform: translateY(-3rem); background: rgba(37,99,235,.16); }
.krf-action--compare { width: 48rem; height: 48rem; flex-basis: 48rem; }
.krf-action--disabled { cursor: default; }
.krf-action > img { width: 20rem; height: 20rem; object-fit: contain; }
.krf-action__count { position: absolute; right: 0; top: 0; min-width: 20rem; height: 20rem; padding: 0 5rem; display: grid; place-items: center; border-radius: 10rem; background: #111827; color: #fff; font-size: 14rem; line-height: 16rem; font-weight: 400; }

.krf-header__nav-wrap { position: absolute; left: 50%; top: 140rem; z-index: 4; transform: translateX(-50%); }
.krf-header__nav { width: 100%; height: 44rem; display: grid; grid-template-columns: 238rem 1fr; border-radius: 10rem; background: #111827; overflow: visible; }
.krf-services { position: relative; }
.krf-services__button { width: 238rem; height: 44rem; padding: 0; border: 0; border-radius: 10rem 0 0 10rem; background: #0076df; color: #fff; display: flex; align-items: center; justify-content: center; gap: 10rem; cursor: pointer; font-family: Inter, Arial, sans-serif; font-size: 16rem; line-height: 19rem; font-weight: 500; }
.krf-services__dots { width: 14rem; height: 14rem; display: grid; grid-template-columns: repeat(3, 2.4rem); grid-auto-rows: 2.4rem; align-content: center; justify-content: center; gap: 2.2rem; }
.krf-services__dots i { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #fff; display: block; }
.krf-header__menu { height: 44rem; }
.krf-nav-list { height: 44rem; margin: 0; padding: 0 60rem 0 32rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 30rem; }
.krf-nav-list li { margin: 0; }
.krf-nav-list a { color: #fff; font-family: Inter, Arial, sans-serif; font-size: 16rem; line-height: 19rem; font-weight: 500; white-space: nowrap; }
.krf-services__panel { position: absolute; top: 44rem; left: 0; width: 560rem; max-width: calc(100vw - 40rem); padding: 18rem; border: 1px solid #e8ebf0; border-radius: 0 0 14rem 14rem; background: #fff; box-shadow: 0 22rem 50rem rgba(17,24,39,.14); opacity: 0; visibility: hidden; transform: translateY(-8rem); transition: opacity .22s ease, transform .22s ease, visibility .22s; pointer-events: none; }
.krf-services__panel.is-open, .krf-services:hover .krf-services__panel, .krf-services:focus-within .krf-services__panel { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.krf-services__grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 8rem; }
.krf-services__grid a { min-height: 50rem; padding: 12rem 16rem; border-radius: 8rem; background: #f7f9fc; display: flex; align-items: center; justify-content: space-between; gap: 14rem; color: #30343b; font-size: 15rem; line-height: 1.35; transition: background .2s ease, color .2s ease; }
.krf-services__grid a:hover { background: #edf4ff; color: var(--krf-blue); }
.krf-mobile-search, .krf-drawer, .krf-drawer-overlay { display: none; }

.krf-site-main { min-height: 80rem; }
.krf-system-page { min-height: 520rem; padding: 100rem 0; display: grid; place-items: center; text-align: center; }
.krf-system-page__code { margin: 0; font-size: 96rem; font-weight: 700; color: var(--krf-blue); }
.krf-system-page h1 { margin: 8rem 0 16rem; font-size: 42rem; }
.krf-system-page p { margin: 0 0 24rem; color: var(--krf-muted); }
.krf-system-page a { display: inline-flex; padding: 14rem 24rem; border-radius: 8rem; color: #fff; background: var(--krf-blue); }

.krf-content-shell { min-height: 560rem; padding: 80rem 0 96rem; background: #fff; }
.krf-content-shell__inner { width: 1200rem; max-width: calc(100% - 40rem); margin-inline: auto; }
.krf-content-title { margin: 0 0 32rem; color: #111827; font-size: 48rem; line-height: 1.15; font-weight: 700; }
.krf-content-description { max-width: 860rem; margin: -14rem 0 40rem; color: #6b7280; font-size: 18rem; line-height: 1.55; }
.krf-entry-content { color: #374151; font-size: 18rem; line-height: 1.7; }
.krf-entry-content > :first-child { margin-top: 0; }
.krf-entry-content > :last-child { margin-bottom: 0; }
.krf-entry-content h2 { margin: 48rem 0 18rem; color: #111827; font-size: 32rem; line-height: 1.25; }
.krf-entry-content h3 { margin: 36rem 0 14rem; color: #111827; font-size: 24rem; line-height: 1.3; }
.krf-entry-content a { color: #2563eb; text-decoration: underline; text-underline-offset: 3rem; }
.krf-post-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28rem; }
.krf-post-card { min-width: 0; overflow: hidden; border: 1rem solid #e5e7eb; border-radius: 20rem; background: #fff; }
.krf-post-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f3f4f6; }
.krf-post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.krf-post-card__body { padding: 24rem; }
.krf-post-card__meta { margin: 0 0 10rem; color: #6b7280; font-size: 14rem; }
.krf-post-card__title { margin: 0 0 12rem; color: #111827; font-size: 24rem; line-height: 1.3; }
.krf-post-card__title a:hover, .krf-post-card__title a:focus-visible { color: #2563eb; }
.krf-post-card__excerpt { margin: 0; color: #4b5563; font-size: 16rem; line-height: 1.55; }
.krf-pagination { margin-top: 42rem; }
.krf-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8rem; }
.krf-pagination .page-numbers { min-width: 40rem; height: 40rem; padding: 0 12rem; display: grid; place-items: center; border-radius: 8rem; background: #f3f4f6; }
.krf-pagination .current { background: #2563eb; color: #fff; }
.krf-no-results { margin: 0; color: #6b7280; font-size: 18rem; }

.krf-footer {
    background: #111827;
    color: #9ca3af;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    padding-bottom: 48rem;
}
.krf-footer__grid {
    width: 1504rem;
    max-width: calc(100% - 40rem);
    margin-inline: auto;
    padding-top: 48rem;
    display: grid;
    grid-template-columns: repeat(4, 352rem);
    column-gap: 32rem;
    align-items: start;
}
.krf-footer__brand,
.krf-footer__contacts,
.krf-footer__info,
.krf-footer__brands { min-width: 0; }
.krf-footer__logo-text {
    width: max-content;
    height: 32rem;
    display: block;
    color: #fff;
    font-family: Pacifico, cursive;
    font-size: 24rem;
    line-height: 32rem;
    font-weight: 400;
    white-space: nowrap;
}
.krf-footer__brand p {
    width: 322rem;
    height: 67rem;
    margin: 18rem 0 0;
    padding-top: 9.5rem;
    display: block;
    color: #9ca3af;
    font-size: 16rem;
    line-height: 24rem;
    font-weight: 400;
}
.krf-footer__socials {
    margin-top: 19rem;
    display: flex;
    align-items: center;
    gap: 16rem;
}
.krf-footer__socials a,
.krf-footer__social-placeholder {
    width: 32rem;
    height: 32rem;
    flex: 0 0 32rem;
    display: grid;
    place-items: center;
    border-radius: 9999rem;
    background: #1f2937;
}
.krf-footer__socials img { display: block; }
.krf-footer h2 {
    height: 28rem;
    margin: 0 0 16rem;
    color: #fff;
    font-size: 18rem;
    line-height: 28rem;
    font-weight: 600;
}
.krf-footer__contacts-list {
    width: 352rem;
    display: grid;
    gap: 12rem;
}
.krf-footer__contact {
    height: 24rem;
    display: grid;
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: 11rem;
    align-items: center;
    color: #fff;
    font-size: 14rem;
    line-height: 24rem;
    font-weight: 400;
}
.krf-footer__contact img {
    display: block;
    margin-left: 1rem;
}
.krf-footer__contact a,
.krf-footer__contact span {
    min-width: 0;
    color: #fff;
    white-space: nowrap;
}
.krf-footer__contact--hours { font-size: 13rem; }
.krf-footer__menu {
    height: 184rem;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    align-content: start;
    gap: 8rem;
}
.krf-footer__menu li { height: 24rem; margin: 0; }
.krf-footer__menu a {
    display: inline-flex;
    align-items: center;
    height: 24rem;
    color: #9ca3af;
    font-size: 16rem;
    line-height: 24rem;
    font-weight: 400;
    transition: color .2s ease;
}
.krf-footer__menu a:hover,
.krf-footer__menu a:focus-visible { color: #fff; }
.krf-footer__brand-list {
    width: 352rem;
    display: grid;
    grid-template-columns: repeat(3, 106.66rem);
    gap: 16rem;
}
.krf-footer__brand-list span {
    width: 106.66rem;
    height: 32rem;
    padding: 0 8rem;
    border-radius: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2937;
    color: #9ca3af;
    font-size: 12rem;
    line-height: 16rem;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
}
.krf-footer__bottom {
    width: 1504rem;
    max-width: calc(100% - 40rem);
    height: 53rem;
    margin: 32rem auto 0;
    padding-bottom: 1rem;
    border-top: 1rem solid #1f2937;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #6b7280;
    font-size: 14rem;
    line-height: 20rem;
    font-weight: 400;
    text-align: center;
}

@media (min-width: 1921px) {
    html { font-size: 1px; }
}

@media (max-width: 767px) {
    html { font-size: calc(100vw / 480); }
    body { font-size: 16rem; }
    .krf-container { width: auto; max-width: none; margin-inline: 20rem; }
    .krf-header { height: 72rem; }
    .krf-header__top, .krf-header__nav-wrap, .krf-header__tagline, .krf-search--desktop { display: none; }
    .krf-header__main { height: 72rem; }
    .krf-header__main-inner { width: 443rem; max-width: none; height: 72rem; margin: 0 0 0 20rem; display: flex; align-items: center; }
    .krf-header__brand { width: 132rem; height: auto; flex: 0 0 132rem; display: block; }
    .krf-logo, .krf-logo img { width: 132rem; }
    .krf-header__actions { width: 292rem; margin-left: 19rem; height: 50rem; gap: 0; }
    .krf-mobile-search-toggle { width: 38rem; height: 38rem; flex: 0 0 38rem; margin-right: 19rem; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
    .krf-mobile-search-toggle img { width: 38rem; height: 38rem; }
    .krf-action { width: 50rem; height: 50rem; flex-basis: 50rem; margin-right: 15rem; }
    .krf-action--compare { width: 48rem; height: 48rem; flex-basis: 48rem; }
    .krf-action--cart { margin-right: 19rem; }
    .krf-action > img { width: 20rem; height: 20rem; }
    .krf-action__count { min-width: 20rem; height: 20rem; padding: 0 4rem; font-size: 14rem; line-height: 16rem; right: 0; top: -1rem; }
    .krf-burger { width: 38rem; height: 38rem; flex: 0 0 38rem; padding: 4rem 1rem; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6rem; cursor: pointer; }
    .krf-burger span { width: 30rem; height: 2.4rem; border-radius: 2rem; background: #151515; }
    .krf-mobile-search { position: absolute; top: 72rem; left: 0; right: 0; z-index: 8; padding: 12rem 20rem 16rem; background: #fff; border-top: 1px solid var(--krf-line); box-shadow: 0 12rem 30rem rgba(0,0,0,.08); }
    .krf-mobile-search[hidden] { display: none; }
    .krf-mobile-search:not([hidden]) { display: block; }
    .krf-mobile-search form { height: 48rem; border-radius: 10rem; background: #eef4ff; display: flex; overflow: hidden; }
    .krf-mobile-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 0 14rem; }
    .krf-mobile-search button { width: 48rem; border: 0; background: transparent; display: grid; place-items: center; }
    .krf-mobile-search button img { width: 38rem; }

    .krf-drawer-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(10,18,30,.38); }
    .krf-drawer-overlay:not([hidden]) { display: block; }
    .krf-drawer { display: flex; position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(420rem, calc(100vw - 48rem)); background: #fff; transform: translateX(100%); transition: transform .28s ease; flex-direction: column; box-shadow: -20rem 0 50rem rgba(0,0,0,.12); }
    .krf-drawer.is-open { transform: translateX(0); }
    .krf-drawer__head { height: 72rem; padding: 0 20rem; border-bottom: 1px solid var(--krf-line); display: flex; align-items: center; justify-content: space-between; }
    .krf-drawer__head img { width: 136rem; }
    .krf-drawer__close { width: 42rem; height: 42rem; padding: 0; border: 0; background: transparent; font-size: 38rem; line-height: 1; cursor: pointer; }
    .krf-drawer__body { padding: 22rem 20rem 36rem; overflow-y: auto; }
    .krf-drawer__services-toggle { width: 100%; min-height: 52rem; padding: 0 14rem; border: 0; border-radius: 9rem; background: var(--krf-blue); color: #fff; display: flex; align-items: center; justify-content: space-between; font-size: 17rem; font-weight: 600; cursor: pointer; }
    .krf-drawer__services { padding: 10rem 6rem 8rem; display: grid; gap: 4rem; }
    .krf-drawer__services[hidden] { display: none; }
    .krf-drawer__services a { padding: 10rem 8rem; border-bottom: 1px solid #edf0f4; font-size: 14rem; color: #3e4652; }
    .krf-drawer__nav { margin-top: 12rem; }
    .krf-drawer__menu, .krf-drawer__nav .krf-nav-list { height: auto; margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
    .krf-drawer__menu a, .krf-drawer__nav .krf-nav-list a { display: block; padding: 14rem 4rem; border-bottom: 1px solid #edf0f4; color: #20242b; font-size: 17rem; }
    .krf-drawer__contact { margin-top: 28rem; display: grid; gap: 11rem; }
    .krf-drawer__contact > a:first-child { font-size: 20rem; font-weight: 700; }
    .krf-drawer__contact span { color: var(--krf-muted); font-size: 14rem; }
    .krf-drawer__callback { margin-top: 6rem; min-height: 52rem; border-radius: 9rem; display: grid; place-items: center; background: var(--krf-blue); color: #fff; font-weight: 600; }
    .krf-site-main { min-height: 40rem; }
    .krf-system-page { min-height: 500rem; padding: 70rem 0; }
    .krf-system-page__code { font-size: 72rem; }
    .krf-system-page h1 { font-size: 32rem; }


    .krf-content-shell { min-height: 480rem; padding: 48rem 0 64rem; }
    .krf-content-shell__inner { width: auto; max-width: none; margin-inline: 20rem; }
    .krf-content-title { margin-bottom: 24rem; font-size: 32rem; }
    .krf-content-description { margin: -8rem 0 30rem; font-size: 17rem; }
    .krf-entry-content { font-size: 17rem; line-height: 1.65; }
    .krf-entry-content h2 { margin-top: 38rem; font-size: 27rem; }
    .krf-entry-content h3 { margin-top: 30rem; font-size: 22rem; }
    .krf-post-list { grid-template-columns: 1fr; gap: 18rem; }
    .krf-post-card { border-radius: 16rem; }
    .krf-post-card__body { padding: 20rem; }
    .krf-post-card__title { font-size: 22rem; }

    .krf-footer { padding-bottom: 0; }
    .krf-footer__grid {
        width: 440rem;
        max-width: none;
        margin: 0 20rem;
        padding-top: 48rem;
        display: grid;
        grid-template-columns: 200rem 200rem;
        column-gap: 40rem;
        row-gap: 30rem;
        align-items: start;
    }
    .krf-footer__brand { grid-column: 1 / -1; }
    .krf-footer__logo-text { width: max-content; height: 32rem; font-size: 24rem; line-height: 32rem; }
    .krf-footer__brand p {
        width: 440rem;
        height: auto;
        margin-top: 18rem;
        padding-top: 0;
        display: block;
        font-size: 16rem;
        line-height: 24rem;
    }
    .krf-footer__socials { margin-top: 19rem; gap: 16rem; }
    .krf-footer__socials a,
    .krf-footer__social-placeholder { width: 32rem; height: 32rem; flex-basis: 32rem; }
    .krf-footer__contacts { grid-column: 1 / -1; width: 352rem; }
    .krf-footer h2 { height: 28rem; margin-bottom: 16rem; font-size: 18rem; line-height: 28rem; }
    .krf-footer__contacts-list { width: 352rem; gap: 12rem; }
    .krf-footer__contact { height: 24rem; font-size: 14rem; line-height: 24rem; }
    .krf-footer__contact--hours { font-size: 13rem; }
    .krf-footer__info { width: 200rem; }
    .krf-footer__menu { height: 184rem; gap: 8rem; }
    .krf-footer__menu li,
    .krf-footer__menu a { height: 24rem; }
    .krf-footer__menu a { font-size: 16rem; line-height: 24rem; }
    .krf-footer__brands { width: 200rem; }
    .krf-footer__brand-list {
        width: 200rem;
        display: grid;
        grid-template-columns: 90rem 90rem;
        gap: 16rem;
    }
    .krf-footer__brand-list span {
        width: 90rem;
        height: 32rem;
        padding: 0 4rem;
        font-size: 12rem;
        line-height: 16rem;
    }
    .krf-footer__bottom {
        width: 100%;
        max-width: none;
        height: 53rem;
        margin: 30rem 0 0;
        padding: 0 20rem 1rem;
        border-top: 1rem solid #1f2937;
        font-size: 14rem;
        line-height: 20rem;
    }
}

/* WooCommerce fallback shell: keeps shop/category/product pages inside the site grid without replacing WooCommerce templates. */
.krf-woocommerce-shell .krf-content-shell__inner{width:1500rem}.krf-woocommerce-shell .woocommerce-breadcrumb{margin:0 0 24rem;color:#6b7280}.krf-woocommerce-shell .woocommerce-products-header__title.page-title{margin:0 0 32rem;color:#111827;font-size:48rem;line-height:1.15}.krf-woocommerce-shell div.product .product_title{color:#111827}.krf-woocommerce-shell a.button,.krf-woocommerce-shell button.button,.krf-woocommerce-shell input.button{border-radius:8rem}@media(max-width:767px){.krf-woocommerce-shell .krf-content-shell__inner{width:auto}.krf-woocommerce-shell .woocommerce-products-header__title.page-title{font-size:32rem}}
