/* =========================================================
   KihCarpet Home Hero
========================================================= */

.kih-home-hero {
    --kih-green: #238b45;
    --kih-green-dark: #176b34;
    --kih-text: #183421;

    position: relative;

    width: 100vw;

    margin-left: calc(50% - 50vw);

    overflow: hidden;

    background: #edf4ee;
}


.kih-home-hero *,
.kih-home-hero *::before,
.kih-home-hero *::after {
    box-sizing: border-box;
}


/* Viewport */

.kih-home-hero__viewport {
    overflow: hidden;
}


.kih-home-hero__track {
    display: flex;

    width: 100%;

    transition:
        transform .65s
        cubic-bezier(.22, .61, .36, 1);

    will-change: transform;
}


/* Slide */

.kih-home-hero__slide {
    position: relative;

    flex: 0 0 100%;

    min-width: 0;

    height:
        var(
            --kih-slider-height-desktop,
            520px
        );

    overflow: hidden;

    background: #e8eee9;
}


/* Image */

.kih-home-hero__picture {
    position: absolute;

    inset: 0;

    display: block;
}


.kih-home-hero__picture img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1.001);
}


/* Overlay */

.kih-home-hero__shade {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        rgba(
            10,
            30,
            15,
            var(--kih-slide-overlay, .2)
        );
}


/* Content */

.kih-home-hero__content {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;

    width: min(100%, 1440px);
    height: 100%;

    margin: 0 auto;

    padding:
        48px
        clamp(24px, 5vw, 76px);
}


.kih-home-hero__content-inner {
    width: min(630px, 52vw);

    padding:
        clamp(24px, 3vw, 38px);

    background:
        rgba(255, 255, 255, .88);

    border:
        1px solid
        rgba(255, 255, 255, .72);

    border-radius: 24px;

    box-shadow:
        0 18px 55px
        rgba(13, 55, 27, .13);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    color: var(--kih-text);
}


/* Alignment */

.kih-align-left
.kih-home-hero__content-inner {
    margin-right: auto;

    text-align: left;
}


.kih-align-center
.kih-home-hero__content-inner {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.kih-align-right
.kih-home-hero__content-inner {
    margin-left: auto;

    text-align: right;
}


/* Typography */

.kih-home-hero__title {
    margin:
        0 0
        clamp(12px, 1.4vw, 18px);

    color: #16351f;

    font-size:
        clamp(34px, 3.2vw, 56px);

    font-weight: 750;

    line-height: 1.06;

    letter-spacing: -.035em;
}


.kih-home-hero__text {
    max-width: 580px;

    color: #415448;

    font-size:
        clamp(15px, 1.18vw, 18px);

    line-height: 1.6;
}


/* Buttons */

.kih-home-hero__buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 11px;

    margin-top:
        clamp(20px, 2vw, 28px);
}


.kih-align-center
.kih-home-hero__buttons {
    justify-content: center;
}


.kih-align-right
.kih-home-hero__buttons {
    justify-content: flex-end;
}


.kih-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 11px 20px;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.2;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease;
}


.kih-home-button:hover {
    transform: translateY(-2px);
}


.kih-home-button--primary {
    background: var(--kih-green);

    border: 1px solid var(--kih-green);

    color: #fff !important;

    box-shadow:
        0 8px 18px
        rgba(35, 139, 69, .2);
}


.kih-home-button--primary:hover {
    background: var(--kih-green-dark);

    border-color: var(--kih-green-dark);
}


.kih-home-button--secondary {
    background:
        rgba(255, 255, 255, .9);

    border:
        1px solid #a9cbb1;

    color:
        var(--kih-green-dark) !important;
}


.kih-home-button--secondary:hover {
    background: #f2faf4;

    border-color: #74ac80;
}


/* Arrows */

.kih-home-hero__arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    transform: translateY(-50%);

    border:
        1px solid
        rgba(255, 255, 255, .8);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .88);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, .12);

    color: #235d34;

    font-size: 31px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}


.kih-home-hero__arrow:hover {
    background: #fff;

    transform:
        translateY(-50%)
        scale(1.05);
}


.kih-home-hero__arrow--prev {
    left:
        clamp(12px, 2vw, 30px);
}


.kih-home-hero__arrow--next {
    right:
        clamp(12px, 2vw, 30px);
}


/* Dots */

.kih-home-hero__dots {
    position: absolute;

    z-index: 6;

    left: 50%;
    bottom: 18px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 7px 9px;

    transform: translateX(-50%);

    background:
        rgba(255, 255, 255, .78);

    border-radius: 30px;

    backdrop-filter: blur(8px);
}


.kih-home-hero__dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #a7b6aa;

    cursor: pointer;

    transition:
        width .2s ease,
        background .2s ease;
}


.kih-home-hero__dot.is-active {
    width: 24px;

    border-radius: 20px;

    background: var(--kih-green);
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 991px) {

    .kih-home-hero__content-inner {
        width: min(620px, 72vw);
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 767px) {

    .kih-home-hero__slide {
        height:
            var(
                --kih-slider-height-mobile,
                520px
            );
    }


    .kih-home-hero__picture img {
        object-position: center center;
    }


    .kih-home-hero__shade {
        background:
            linear-gradient(
                to bottom,
                rgba(10, 30, 15, .02) 0%,
                rgba(10, 30, 15, .08) 46%,
                rgba(10, 30, 15, .30) 100%
            );
    }


    .kih-home-hero__content {
        align-items: flex-end;

        padding:
            18px
            14px
            54px;
    }


    .kih-home-hero__content-inner {
        width: 100%;

        padding:
            19px 17px;

        border-radius: 18px;

        background:
            rgba(255, 255, 255, .91);

        box-shadow:
            0 12px 35px
            rgba(9, 52, 22, .12);

        text-align: left !important;
    }


    .kih-home-hero__title {
        margin-bottom: 9px;

        font-size:
            clamp(27px, 8vw, 36px);

        line-height: 1.08;
    }


    .kih-home-hero__text {
        font-size: 14px;

        line-height: 1.48;
    }


    .kih-home-hero__buttons {
        display: grid;

        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 15px;
    }


    .kih-home-button {
        width: 100%;

        min-height: 46px;
    }


    /*
     * На телефоне свайп удобнее стрелок.
     */

    .kih-home-hero__arrow {
        display: none;
    }


    .kih-home-hero__dots {
        bottom: 12px;
    }

}


/* Small phones */

@media (max-width: 390px) {

    .kih-home-hero__content {
        padding-left: 10px;
        padding-right: 10px;
    }


    .kih-home-hero__content-inner {
        padding: 16px 14px;
    }


    .kih-home-hero__title {
        font-size: 26px;
    }

}


/* Reduced motion */

@media
(prefers-reduced-motion: reduce) {

    .kih-home-hero__track,
    .kih-home-button,
    .kih-home-hero__arrow,
    .kih-home-hero__dot {
        transition: none !important;
    }

}
/* =========================================================
   KihCarpet — mobile hero polish
========================================================= */

@media (max-width: 767px) {

    .kih-home-hero__content {
        padding:
            16px
            14px
            72px;
    }

    .kih-home-hero__content-inner {
        padding:
            17px 16px;

        border-radius: 18px;
    }

    .kih-home-hero__title {
        margin-bottom: 8px;

        font-size:
            clamp(26px, 7.5vw, 34px);

        line-height: 1.06;
    }

    .kih-home-hero__text {
        font-size: 14px;
        line-height: 1.42;
    }

    .kih-home-hero__buttons {
        gap: 8px;
        margin-top: 14px;
    }

    .kih-home-button {
        min-height: 46px;

        padding:
            10px 14px;

        font-size: 14px;

        border-radius: 11px;
    }

}

/* =========================================================
   KIHCARPET — POPULAR CATEGORIES
========================================================= */

.kih-home-container {
    width: min(
        calc(100% - 40px),
        1380px
    );

    margin-left: auto;
    margin-right: auto;
}


.kih-home-categories {
    padding:
        clamp(55px, 6vw, 90px)
        0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fbf8 100%
        );
}


.kih-home-section-heading {
    max-width: 760px;

    margin:
        0 auto
        clamp(28px, 4vw, 44px);

    text-align: center;
}


.kih-home-section-heading h2 {
    margin: 0 0 10px;

    color: #173b23;

    font-size:
        clamp(29px, 3vw, 43px);

    font-weight: 750;
    line-height: 1.1;

    letter-spacing: -.025em;
}


.kih-home-section-heading p {
    margin: 0;

    color: #65736a;

    font-size:
        clamp(15px, 1.3vw, 18px);

    line-height: 1.55;
}


.kih-home-categories__grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        clamp(14px, 2vw, 24px);
}


.kih-home-category-card {
    position: relative;

    display: block;

    overflow: hidden;

    background: #fff;

    border:
        1px solid #dce9df;

    border-radius: 20px;

    color: #183d24 !important;

    text-decoration: none !important;

    box-shadow:
        0 8px 28px
        rgba(32, 94, 49, .06);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.kih-home-category-card:hover {
    transform:
        translateY(-5px);

    border-color:
        #bad8c1;

    box-shadow:
        0 17px 38px
        rgba(32, 94, 49, .11);
}


.kih-home-category-card__image {
    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background:
        #edf5ef;
}


.kih-home-category-card__image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(11, 42, 20, .14),
            transparent 46%
        );

    pointer-events: none;
}


.kih-home-category-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s
        cubic-bezier(.22,.61,.36,1);
}


.kih-home-category-card:hover
.kih-home-category-card__image img {
    transform: scale(1.045);
}


.kih-home-category-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background:
        radial-gradient(
            circle at 50% 35%,
            #f7fcf8,
            #e4f1e7
        );
}


.kih-home-category-card__fallback span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border-radius: 18px;

    background: #d6ecd9;

    color: #208340;

    font-size: 25px;
}


.kih-home-category-card__content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    min-height: 90px;

    padding:
        17px
        18px;
}


.kih-home-category-card__content h3 {
    margin: 0 0 5px;

    color: #193d25;

    font-size:
        clamp(17px, 1.45vw, 22px);

    font-weight: 700;

    line-height: 1.2;
}


.kih-home-category-card__content span {
    color: #728078;

    font-size: 13px;
}


.kih-home-category-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 12px;

    background: #edf8ef;

    color: #1f8d42 !important;

    font-size: 21px !important;

    transition:
        transform .2s ease,
        background .2s ease;
}


.kih-home-category-card:hover
.kih-home-category-card__arrow {
    transform:
        translateX(3px);

    background:
        #d9efde;
}


/* TABLET */

@media (max-width: 900px) {

    .kih-home-categories__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .kih-home-container {
        width:
            calc(
                100% - 24px
            );
    }


    .kih-home-categories {
        padding:
            46px 0 52px;
    }


    .kih-home-section-heading {
        margin-bottom: 24px;
    }


    .kih-home-section-heading h2 {
        font-size: 28px;
    }


    .kih-home-section-heading p {
        max-width: 330px;

        margin-left: auto;
        margin-right: auto;

        font-size: 14px;
    }


    .kih-home-categories__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 10px;
    }


    .kih-home-category-card {
        border-radius: 15px;

        box-shadow:
            0 5px 18px
            rgba(32, 94, 49, .055);
    }


    .kih-home-category-card__image {
        aspect-ratio: 4 / 3;
    }


    .kih-home-category-card__content {
        min-height: 82px;

        padding:
            12px 11px;
    }


    .kih-home-category-card__content h3 {
        margin-bottom: 4px;

        font-size: 15px;

        line-height: 1.17;
    }


    .kih-home-category-card__content span {
        font-size: 11px;
    }


    .kih-home-category-card__arrow {
        width: 30px;
        height: 30px;

        flex-basis: 30px;

        border-radius: 9px;

        font-size: 17px !important;
    }

}


@media (max-width: 370px) {

    .kih-home-category-card__content {
        align-items: flex-start;
    }


    .kih-home-category-card__arrow {
        display: none;
    }

}

/* =========================================================
   KIHCARPET — PRODUCTS
========================================================= */

.kih-home-products {
    padding:
        clamp(58px, 6vw, 90px)
        0;

    background: #fff;
}


.kih-home-products__grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap:
        clamp(13px, 1.7vw, 22px);
}


/* Card */

.kih-home-product-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: #fff;

    border:
        1px solid #dce8df;

    border-radius: 18px;

    box-shadow:
        0 7px 24px
        rgba(30, 85, 44, .055);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.kih-home-product-card:hover {
    transform:
        translateY(-5px);

    border-color:
        #bad8c1;

    box-shadow:
        0 16px 36px
        rgba(30, 85, 44, .11);
}


/* Image */

.kih-home-product-card__image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio: 1 / 1.05;

    overflow: hidden;

    padding: 10px;

    background: #f7f9f7;

    text-decoration: none !important;
}


.kih-home-product-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform .4s
        cubic-bezier(.22,.61,.36,1);
}


.kih-home-product-card:hover
.kih-home-product-card__image img {
    transform: scale(1.035);
}


/* Sale */

.kih-home-product-card__sale {
    position: absolute;

    z-index: 2;

    top: 11px;
    left: 11px;

    padding: 6px 10px;

    background: #e53935;

    border-radius: 9px;

    color: #fff;

    font-size: 12px;
    font-weight: 750;

    line-height: 1;
}


/* Body */

.kih-home-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 15px;
}


/* Stock */

.kih-home-product-card__stock {
    display: flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 8px;

    color: #65736a;

    font-size: 11px;
    font-weight: 600;
}


.kih-home-product-card__stock span {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;
}


.kih-home-product-card__stock.is-instock {
    color: #318148;
}


.kih-home-product-card__stock.is-instock span {
    background: #51a86a;
}


.kih-home-product-card__stock.is-outofstock {
    color: #a66565;
}


.kih-home-product-card__stock.is-outofstock span {
    background: #c98989;
}


/* Title */

.kih-home-product-card__title {
    display: -webkit-box;

    overflow: hidden;

    min-height: 46px;

    margin: 0 0 9px;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    color: #253a2b;

    font-size:
        clamp(14px, 1.2vw, 17px);

    font-weight: 650;

    line-height: 1.35;
}


.kih-home-product-card__title a {
    color: inherit !important;

    text-decoration: none !important;
}


.kih-home-product-card__title a:hover {
    color: #208440 !important;
}


/* Price */

.kih-home-product-card__price {
    margin-top: auto;
    margin-bottom: 13px;

    color: #269447;

    font-size:
        clamp(16px, 1.45vw, 20px);

    font-weight: 750;

    line-height: 1.3;
}


.kih-home-product-card__price del {
    margin-right: 5px;

    color: #99a29c;

    font-size: .8em;

    font-weight: 500;
}


.kih-home-product-card__price ins {
    text-decoration: none;
}


/* Button */

.kih-home-product-card__button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    min-height: 42px;

    padding: 9px 12px;

    background: #edf8ef;

    border: 1px solid #cce5d1;
    border-radius: 10px;

    color: #1c7737 !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease;
}


.kih-home-product-card__button span {
    font-size: 18px;
}


.kih-home-product-card__button:hover {
    background: #ddf1e1;

    border-color: #a9d2b1;
}


/* Tablet */

@media (max-width: 1050px) {

    .kih-home-products__grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

}


/* Mobile */

@media (max-width: 767px) {

    .kih-home-products {
        padding:
            48px 0 54px;
    }


    .kih-home-products__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 10px;
    }


    .kih-home-product-card {
        border-radius: 14px;
    }


    .kih-home-product-card__image {
        aspect-ratio: 1 / 1.08;

        padding: 6px;
    }


    .kih-home-product-card__body {
        padding: 11px 10px;
    }


    .kih-home-product-card__stock {
        margin-bottom: 6px;

        font-size: 10px;
    }


    .kih-home-product-card__title {
        min-height: 39px;

        margin-bottom: 7px;

        font-size: 13px;

        line-height: 1.3;
    }


    .kih-home-product-card__price {
        margin-bottom: 9px;

        font-size: 15px;
    }


    .kih-home-product-card__button {
        min-height: 38px;

        padding: 7px 9px;

        font-size: 12px;
    }


    /*
     * Desktop = 8,
     * Mobile = например 6.
     */

    .kih-mobile-product-hidden {
        display: none;
    }

}


/* Очень маленькие телефоны */

@media (max-width: 370px) {

    .kih-home-products__grid {
        gap: 7px;
    }


    .kih-home-product-card__body {
        padding:
            9px 8px;
    }


    .kih-home-product-card__button span {
        display: none;
    }

}

/* =========================================================
   KIHCARPET — RUNNER BANNER
========================================================= */

.kih-home-runner {
    padding:
        clamp(60px, 7vw, 100px)
        0;

    background:
        linear-gradient(
            180deg,
            #f7fbf8 0%,
            #eef7f0 100%
        );
}


.kih-home-runner__card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, .92fr);

    overflow: hidden;

    background: #fff;

    border:
        1px solid #d8e7dc;

    border-radius: 28px;

    box-shadow:
        0 20px 55px
        rgba(27, 88, 44, .09);
}


/* IMAGE */

.kih-home-runner__media {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    background: #e9f1eb;
}


.kih-home-runner__media picture {
    display: block;

    width: 100%;
    height: 100%;
}


.kih-home-runner__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s
        cubic-bezier(.22,.61,.36,1);
}


.kih-home-runner__card:hover
.kih-home-runner__media img {
    transform: scale(1.025);
}


.kih-home-runner__media::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to right,
            transparent 65%,
            rgba(17, 58, 29, .06)
        );
}


/* CONTENT */

.kih-home-runner__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        clamp(38px, 5vw, 76px);
}


.kih-home-runner__eyebrow {
    align-self: flex-start;

    margin-bottom: 18px;

    padding: 8px 13px;

    background: #e8f6eb;

    border: 1px solid #c9e5cf;
    border-radius: 30px;

    color: #238342;

    font-size: 13px;
    font-weight: 750;

    line-height: 1;
}


.kih-home-runner__content h2 {
    margin: 0 0 20px;

    color: #163c23;

    font-size:
        clamp(32px, 3.3vw, 50px);

    font-weight: 750;

    line-height: 1.08;

    letter-spacing: -.03em;
}


.kih-home-runner__text {
    max-width: 570px;

    margin: 0;

    color: #53665a;

    font-size:
        clamp(15px, 1.2vw, 18px);

    line-height: 1.65;
}


/* POINTS */

.kih-home-runner__points {
    display: grid;

    gap: 12px;

    margin:
        27px 0 30px;

    padding: 0;

    list-style: none;
}


.kih-home-runner__points li {
    display: flex;
    align-items: center;

    gap: 11px;

    margin: 0;

    color: #334f3c;

    font-size: 15px;
    font-weight: 650;
}


.kih-home-runner__points li span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    background: #e1f3e5;

    border-radius: 50%;

    color: #248946;

    font-size: 14px;
    font-weight: 800;
}


/* BUTTON */

.kih-home-runner__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    align-self: flex-start;

    gap: 25px;

    min-height: 50px;

    padding: 12px 18px;

    background: #218e43;

    border: 1px solid #218e43;
    border-radius: 12px;

    color: #fff !important;

    font-size: 15px;
    font-weight: 750;

    line-height: 1.2;

    text-decoration: none !important;

    box-shadow:
        0 9px 22px
        rgba(33, 142, 67, .18);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.kih-home-runner__button span {
    font-size: 21px;

    line-height: 1;
}


.kih-home-runner__button:hover {
    transform: translateY(-2px);

    background: #176e34;

    box-shadow:
        0 13px 27px
        rgba(33, 142, 67, .24);
}


/* TABLET */

@media (max-width: 950px) {

    .kih-home-runner__card {
        grid-template-columns:
            1fr 1fr;
    }


    .kih-home-runner__media {
        min-height: 460px;
    }


    .kih-home-runner__content {
        padding: 36px;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .kih-home-runner {
        padding:
            50px 0 55px;
    }


    .kih-home-runner__card {
        grid-template-columns: 1fr;

        border-radius: 19px;
    }


    .kih-home-runner__media {
        min-height: 0;

        aspect-ratio: 4 / 3;
    }


    .kih-home-runner__media::after {
        background:
            linear-gradient(
                to top,
                rgba(15, 55, 27, .08),
                transparent 45%
            );
    }


    .kih-home-runner__content {
        padding:
            24px 19px 22px;
    }


    .kih-home-runner__eyebrow {
        margin-bottom: 13px;

        padding: 7px 11px;

        font-size: 11px;
    }


    .kih-home-runner__content h2 {
        margin-bottom: 13px;

        font-size: 28px;

        line-height: 1.08;
    }


    .kih-home-runner__text {
        font-size: 14px;

        line-height: 1.5;
    }


    .kih-home-runner__points {
        gap: 9px;

        margin:
            19px 0 21px;
    }


    .kih-home-runner__points li {
        font-size: 13px;
    }


    .kih-home-runner__points li span {
        width: 25px;
        height: 25px;

        flex-basis: 25px;

        font-size: 12px;
    }


    .kih-home-runner__button {
        width: 100%;

        min-height: 48px;

        justify-content: center;

        gap: 12px;
    }

}

/* =========================================================
   KIHCARPET — NEW PRODUCTS
========================================================= */

.kih-home-new-products {
    background:
        linear-gradient(
            180deg,
            #f7fbf8 0%,
            #ffffff 100%
        );
}


/* NEW BADGE */

.kih-home-product-card__new {
    position: absolute;

    z-index: 3;

    top: 11px;
    left: 11px;

    display: inline-flex;
    align-items: center;

    min-height: 26px;

    padding:
        5px 10px;

    background:
        #208e43;

    border-radius: 9px;

    color: #fff !important;

    font-size: 11px;
    font-weight: 750;

    line-height: 1;

    box-shadow:
        0 5px 14px
        rgba(32, 142, 67, .18);
}


@media (max-width: 767px) {

    .kih-home-product-card__new {
        top: 7px;
        left: 7px;

        min-height: 22px;

        padding:
            4px 7px;

        border-radius: 7px;

        font-size: 9px;
    }

}

/* =========================================================
   KIHCARPET — SALE PRODUCTS
========================================================= */

.kih-home-sale-products {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fff9f7 48%,
            #ffffff 100%
        );
}


/* DISCOUNT BADGE */

.kih-home-product-card__discount {
    position: absolute;

    z-index: 4;

    top: 11px;
    left: 11px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 48px;
    min-height: 28px;

    padding: 5px 10px;

    background: #e53935;

    border:
        1px solid
        rgba(175, 30, 27, .25);

    border-radius: 9px;

    color: #fff !important;

    font-size: 12px;
    font-weight: 800;

    line-height: 1;

    box-shadow:
        0 6px 16px
        rgba(229, 57, 53, .22);
}


/* Sale price */

.kih-home-product-card__sale-price del {
    margin-right: 6px;

    color: #9b9f9c !important;

    font-size: .78em;

    font-weight: 500;

    opacity: 1;
}


.kih-home-product-card__sale-price ins {
    color: #e23a35 !important;

    font-weight: 800;

    text-decoration: none !important;
}


/* MOBILE */

@media (max-width: 767px) {

    .kih-home-product-card__discount {
        top: 7px;
        left: 7px;

        min-width: 42px;
        min-height: 23px;

        padding: 4px 7px;

        border-radius: 7px;

        font-size: 10px;
    }

}

/* =========================================================
   KIHCARPET — DELIVERY & PAYMENT
========================================================= */

.kih-home-delivery {
    padding:
        clamp(62px, 7vw, 100px)
        0;

    background:
        linear-gradient(
            180deg,
            #f5faf6 0%,
            #edf7ef 52%,
            #f9fcfa 100%
        );
}


/* GRID */

.kih-home-delivery__grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        clamp(14px, 2vw, 22px);
}


/* CARD */

.kih-home-delivery-card {
    position: relative;

    display: grid;

    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: flex-start;

    gap: 18px;

    min-height: 220px;

    padding:
        clamp(22px, 2.4vw, 32px);

    overflow: hidden;

    background:
        rgba(255, 255, 255, .94);

    border:
        1px solid #d5e7d9;

    border-radius: 21px;

    box-shadow:
        0 8px 28px
        rgba(29, 86, 44, .055);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.kih-home-delivery-card:hover {
    transform:
        translateY(-4px);

    border-color:
        #b7d9bf;

    box-shadow:
        0 17px 40px
        rgba(29, 86, 44, .10);
}


/* Очень лёгкий декоративный фон */

.kih-home-delivery-card::after {
    content: "";

    position: absolute;

    right: -55px;
    bottom: -70px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background:
        rgba(72, 163, 91, .045);

    pointer-events: none;
}


/* ICON */

.kih-home-delivery-card__icon {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    background:
        #e4f4e7;

    border:
        1px solid #c7e3cd;

    border-radius: 17px;

    color: #218542;
}


.kih-home-delivery-card__icon svg {
    width: 29px;
    height: 29px;
}


/* Вторая карточка слегка отличается */

.kih-home-delivery-card--discount
.kih-home-delivery-card__icon {
    background:
        #fff0e8;

    border-color:
        #f4d4c4;

    color:
        #c85a2f;
}


/* Оплата */

.kih-home-delivery-card--payment
.kih-home-delivery-card__icon {
    background:
        #edf6ff;

    border-color:
        #d3e5f5;

    color:
        #3577a8;
}


/* Дорожки */

.kih-home-delivery-card--runner
.kih-home-delivery-card__icon {
    background:
        #f1edfb;

    border-color:
        #ded4f1;

    color:
        #7159a5;
}


/* TEXT */

.kih-home-delivery-card__content {
    position: relative;

    z-index: 2;
}


.kih-home-delivery-card__content h3 {
    margin:
        2px 0 13px;

    color: #183d24;

    font-size:
        clamp(19px, 1.6vw, 24px);

    font-weight: 750;

    line-height: 1.2;
}


.kih-home-delivery-card__text {
    color: #5a6b60;

    font-size:
        clamp(13px, 1.05vw, 15px);

    line-height: 1.72;
}


/* BUTTON */

.kih-home-delivery__footer {
    display: flex;
    justify-content: center;

    margin-top:
        clamp(25px, 3vw, 38px);
}


.kih-home-delivery__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 50px;

    padding:
        12px 20px;

    background: #218e43;

    border:
        1px solid #218e43;

    border-radius: 12px;

    color: #fff !important;

    font-size: 14px;
    font-weight: 750;

    text-decoration: none !important;

    box-shadow:
        0 9px 22px
        rgba(33, 142, 67, .18);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.kih-home-delivery__button span {
    font-size: 20px;

    line-height: 1;
}


.kih-home-delivery__button:hover {
    transform:
        translateY(-2px);

    background:
        #176e34;

    border-color:
        #176e34;

    box-shadow:
        0 13px 28px
        rgba(33, 142, 67, .24);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .kih-home-delivery-card {
        min-height: 250px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .kih-home-delivery {
        padding:
            49px 0 55px;
    }


    .kih-home-delivery__grid {
        grid-template-columns:
            1fr;

        gap: 11px;
    }


    .kih-home-delivery-card {
        grid-template-columns:
            48px minmax(0, 1fr);

        gap: 13px;

        min-height: 0;

        padding:
            17px 15px;

        border-radius: 16px;

        box-shadow:
            0 5px 18px
            rgba(29, 86, 44, .05);
    }


    .kih-home-delivery-card__icon {
        width: 48px;
        height: 48px;

        flex-basis: 48px;

        border-radius: 14px;
    }


    .kih-home-delivery-card__icon svg {
        width: 24px;
        height: 24px;
    }


    .kih-home-delivery-card__content h3 {
        margin:
            1px 0 8px;

        font-size: 17px;
    }


    .kih-home-delivery-card__text {
        font-size: 12.5px;

        line-height: 1.58;
    }


    .kih-home-delivery__footer {
        margin-top: 20px;
    }


    .kih-home-delivery__button {
        width: 100%;

        min-height: 48px;
    }

}

/* =========================================================
   KIHCARPET — ADVANTAGES
========================================================= */

.kih-home-advantages {
    padding:
        clamp(58px, 6vw, 88px)
        0;

    background: #fff;
}


/* GRID */

.kih-home-advantages__grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        clamp(12px, 1.7vw, 20px);
}


/* CARD */

.kih-home-advantage-card {
    display: grid;

    grid-template-columns:
        54px minmax(0, 1fr);

    align-items: flex-start;

    gap: 16px;

    min-height: 145px;

    padding:
        22px 20px;

    background:
        #f8fbf9;

    border:
        1px solid #dce9df;

    border-radius: 18px;

    transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.kih-home-advantage-card:hover {
    transform:
        translateY(-3px);

    background:
        #fff;

    border-color:
        #bcdcc3;

    box-shadow:
        0 13px 30px
        rgba(32, 92, 47, .08);
}


/* ICON */

.kih-home-advantage-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border-radius: 16px;

    background:
        #e4f4e7;

    border:
        1px solid #c9e5ce;

    color:
        #218b42;
}


.kih-home-advantage-card__icon svg {
    width: 27px;
    height: 27px;
}


/* Небольшое разнообразие оттенков */

.kih-home-advantage-card--2
.kih-home-advantage-card__icon {
    background: #edf6ff;

    border-color: #d5e6f5;

    color: #367ba9;
}


.kih-home-advantage-card--3
.kih-home-advantage-card__icon {
    background: #f3eefb;

    border-color: #e0d6f0;

    color: #765ba5;
}


/* TITLE */

.kih-home-advantage-card h3 {
    margin:
        2px 0 7px;

    color: #193e25;

    font-size:
        clamp(16px, 1.35vw, 20px);

    font-weight: 750;

    line-height: 1.2;
}


/* TEXT */

.kih-home-advantage-card p {
    margin: 0;

    color: #637168;

    font-size: 13px;

    line-height: 1.55;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .kih-home-advantages__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .kih-home-advantages {
        padding:
            48px 0 52px;
    }


    .kih-home-advantages__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 9px;
    }


    .kih-home-advantage-card {
        display: block;

        min-height: 0;

        padding:
            14px 12px 15px;

        border-radius: 15px;
    }


    .kih-home-advantage-card__icon {
        width: 43px;
        height: 43px;

        margin-bottom: 11px;

        border-radius: 12px;
    }


    .kih-home-advantage-card__icon svg {
        width: 22px;
        height: 22px;
    }


    .kih-home-advantage-card h3 {
        margin-bottom: 6px;

        font-size: 15px;

        line-height: 1.16;
    }


    .kih-home-advantage-card p {
        font-size: 11.5px;

        line-height: 1.46;
    }

}


/* Очень узкие экраны */

@media (max-width: 350px) {

    .kih-home-advantages__grid {
        grid-template-columns: 1fr;
    }


    .kih-home-advantage-card {
        display: grid;

        grid-template-columns:
            43px minmax(0, 1fr);

        gap: 12px;
    }


    .kih-home-advantage-card__icon {
        margin-bottom: 0;
    }

}