@charset "UTF-8";

.wih-b2b-popular {
    margin: 10px 0 36px;
    font-family: "Avenir Next Cyr", "Open Sans", Helvetica, Arial, sans-serif;
    color: #29362b;
}

.wih-b2b-popular-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
}

.wih-b2b-popular-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #687164;
}

.wih-b2b-popular-title {
    margin: 0 0 8px;
    font-size: 40px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #29362b;
}

.wih-b2b-popular-lead {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.45;
    color: #687164;
}

.wih-b2b-popular-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    margin-bottom: 4px;
    color: #29362b;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    border-bottom: 1px solid #29362b;
    padding-bottom: 3px;
}

.wih-b2b-popular-all svg,
.wih-b2b-promo-btn svg,
.wih-b2b-cat-go svg {
    display: block;
}

.wih-b2b-cats {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) repeat(3, minmax(0, 1fr));
    grid-auto-rows: 248px;
    gap: 12px;
}

.wih-b2b-cat {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    height: 100%;
    padding: 12px 14px 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e3e8dc;
    color: inherit;
    text-decoration: none;
}

.wih-b2b-cat-feature {
    grid-row: span 2;
}

.wih-b2b-cat-span2 {
    grid-column: span 2;
}

.wih-b2b-cat-span3 {
    grid-column: span 3;
}

.wih-b2b-cat img {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.wih-b2b-cat-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    margin-top: 10px;
    min-width: 0;
}

.wih-b2b-cat-text {
    min-width: 0;
    flex: 1 1 auto;
}

.wih-b2b-cat-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    color: #29362b;
}

.wih-b2b-cat-count {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.3;
    color: #687164;
}

.wih-b2b-cat-go {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 9px;
    border: 1px solid #e3e8dc;
    color: #29362b;
}

.wih-b2b-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.wih-b2b-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 84px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
}

.wih-b2b-stat-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: none;
    color: #4e683d;
}

.wih-b2b-stat-ico svg,
.wih-b2b-stat-ico img {
    width: 30px;
    height: 30px;
}

.wih-b2b-stat strong,
.wih-b2b-stat span span {
    display: block;
}

.wih-b2b-stat strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.wih-b2b-stat span span {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.35;
    color: #687164;
}

.wih-b2b-promo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 118px;
    margin-top: 12px;
    padding: 22px 28px;
    overflow: hidden;
    border-radius: 18px;
    background: #4e683d;
    color: #f6f7f2;
    text-decoration: none;
}

.wih-b2b-promo-photo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 104px;
    min-height: 104px;
    padding: 12px 22px 12px 28px;
    background: #f6f7f2;
    color: #29362b;
}

.wih-b2b-promo-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(246, 247, 242, 0.94) 0%, rgba(246, 247, 242, 0.84) 34%, rgba(246, 247, 242, 0.28) 58%, rgba(246, 247, 242, 0) 76%);
}

.wih-b2b-promo-copy {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.wih-b2b-promo-copy strong,
.wih-b2b-promo-copy span {
    display: block;
}

.wih-b2b-promo-copy strong {
    margin-bottom: 6px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #eef3e8;
}

.wih-b2b-promo-copy span {
    font-size: 15px;
    line-height: 1.4;
    color: rgba(246, 239, 230, 0.82);
}

.wih-b2b-promo-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    color: #29362b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.wih-b2b-promo img {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
    mask-image: linear-gradient(90deg, transparent, #000 24%);
}

.wih-b2b-promo-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    -webkit-mask-image: none;
    mask-image: none;
}

.wih-b2b-promo-photo .wih-b2b-promo-copy {
    position: relative;
    z-index: 2;
    left: auto;
    top: auto;
    max-width: 62%;
}

.wih-b2b-promo-photo .wih-b2b-promo-copy strong {
    color: #29362b;
}

.wih-b2b-promo-photo .wih-b2b-promo-copy span {
    color: #687164;
}

.wih-b2b-promo-photo .wih-b2b-promo-btn {
    position: relative;
    z-index: 2;
    left: auto;
    bottom: auto;
    background: #fff;
    color: #29362b;
    box-shadow: 0 8px 22px rgba(48, 70, 36, 0.12);
}

.wih-b2b-promo-photo .wih-b2b-promo-copy strong {
    font-size: 22px;
    margin-bottom: 2px;
}

@media (max-width: 1100px) {
    .wih-b2b-popular-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .wih-b2b-popular-title {
        font-size: 34px;
    }

    .wih-b2b-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 236px;
    }

    .wih-b2b-cat-feature {
        grid-column: auto;
        grid-row: auto;
    }

    .wih-b2b-cat-span2,
    .wih-b2b-cat-span3 {
        grid-column: 1 / -1;
    }

    .wih-b2b-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wih-b2b-promo-copy strong {
        font-size: 22px;
    }
}

@media (max-width: 700px) {
    .wih-b2b-popular-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .wih-b2b-popular-title {
        font-size: 30px;
    }

    .wih-b2b-cats {
        grid-template-columns: 1fr;
        grid-auto-rows: 252px;
    }

    .wih-b2b-cat-feature {
        grid-row: auto;
    }

    .wih-b2b-stats {
        grid-template-columns: 1fr;
    }

    .wih-b2b-promo,
    .wih-b2b-promo-photo {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .wih-b2b-promo-btn {
        align-self: stretch;
        justify-content: center;
    }

    .wih-b2b-promo img {
        position: static;
        width: 100%;
        height: 140px;
        order: -1;
        border-radius: 12px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .wih-b2b-promo-photo {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: auto;
        min-height: 0;
        padding: 14px 16px;
        gap: 10px;
    }

    .wih-b2b-promo-photo img {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 0;
        order: 0;
    }

    .wih-b2b-promo-photo::after {
        background: linear-gradient(90deg, rgba(246, 247, 242, 0.97) 0%, rgba(246, 247, 242, 0.94) 58%, rgba(246, 247, 242, 0.5) 80%, rgba(246, 247, 242, 0) 100%);
    }

    .wih-b2b-promo-photo .wih-b2b-promo-copy {
        max-width: 78%;
        padding: 0;
    }

    .wih-b2b-promo-photo .wih-b2b-promo-copy strong {
        font-size: 16px;
    }

    .wih-b2b-promo-photo .wih-b2b-promo-copy span {
        font-size: 12px;
    }

    .wih-b2b-promo-photo .wih-b2b-promo-btn {
        align-self: flex-start;
        margin: 0;
        padding: 10px 14px;
        font-size: 13px;
    }
}
