/* -------------- Первый блок -----------------*/

.lemma-wwg-container {
    display: flex;
    justify-content: center;
}

.lemma-wwg-container-grid {
    /* добавлено */
    display: grid;
    /* grid-template: repeat(3, 1fr) / repeat(3, 1fr); */
    grid-template-areas:
        "header header header picture picture picture picture picture picture"
        "header header header picture picture picture picture picture picture"
        "header header header picture picture picture picture picture picture"
        "button button button picture picture picture picture picture picture";
    width: 1460px;
    align-items: end;
    position: relative;
}

.lemma-wwg #bx_incl_area_10_5 {
    display: flex;
}

.lemma-wwg #bx_incl_area_10_3 {
    height: 517px;
}

.lemma-wwg-title-wrap {
    grid-area: header;
    color: #232942;
    font-size: 56px;
    line-height: 62px;
    font-family: Graphik LCG;
    font-weight: 400;
    padding-top: 81px;
    padding-left: 72px;
    width: 973px;
    height: 472px;
    user-select: none;
    animation-name: fadeInLeft;
    animation-duration: 1s;
    animation-fill-mode: both;
    opacity: 0;
    background-color: #F2F4FD;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    border-top-right-radius: 32px;
    z-index: 10;
}

.lemma-wwg-title {
    display: flex;
    flex-wrap: wrap;
    width: auto;
}

.lemma-wwg-title div {
    margin-right: 10px;
}

.lemma-wwg-title-bot {
    color: #0F3BAC;
    margin-bottom: unset;
    line-height: 62px;
}

.lemma-wwg_background {
    background-color: #F2F4FD;
    position: absolute;
    width: 487px;
    height: 160px;
    right: 0;
    bottom: -160px;
    z-index: 10;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

.lemma-wwg-right_content {
    /* добавлено */
    grid-area: picture;
    display: flex;
    width: auto;
    height: 100%;
    background-position-x: right;
    background-position-y: bottom;
    animation-name: fadeInRight;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 1s;
    flex-wrap: wrap;
    margin-left: 15px;
    align-content: space-between;
    justify-content: space-between;
}

.lemma-wwg-button-wrap {
    grid-area: button;
    background-color: #F2F4FD;
    position: relative;
    width: 486px;
    height: 160px;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}

.lemma-wwg-button-backgroud {
    position: absolute;
    background-color: #FFF;
    width: 100%;
    border-top-right-radius: 32px;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}

.lemma-wwg-button {
    cursor: pointer;
    transition: background .2s ease-in-out;
    background: #E960A1;
    display: flex;
    font-style: unset;
    /* justify-content: center; */
    align-items: center;
    color: #FFF;
    font-family: 'GraphikLCG-Light', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
    width: 473px;
    height: 150px;
    border-radius: 24px;
    align-self: end;
    opacity: 0;
    animation-name: fadeInLeft;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0.6s;
    margin-top: 10px;
}

.lemma-wwg-button_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 36px;
    width: 405px;
}

.lemma-wwg-button:hover {
    background: #F67DB6;
    color: #ffffff !important;
}

.lemma-wwg-button_content img {
    transform: rotate(0deg);
    transition: transform 0.5s ease;
    margin-left: 50px;
}

.lemma-wwg-button:hover .lemma-wwg-button_content img {
    transform: rotate(45deg);
}

.wwg_top_right {
    width: 226px;
    height: 311px;
    border-radius: 32px;
    background-color: #F2F4FD;
    padding: 25px 0 0 24px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    color: #072D90;
    font-size: 24px;
    overflow: hidden;
}

.wwg_top_right_text_description {
    margin-top: 8px;
    font-family: Graphik LCG;
    font-size: 14px;
    color: #586181;
}

/* .wwg_top_right_text{
    width: 192px;
}

.wwg_top_right_text.wwg_top_right_top{
    width: 292px;
}

.wwg_top_right_text.wwg_top_right_mid{
    margin-left: 210px;
} */

.wwg_top_right img {
    position: relative;
    width: 260px;
    height: auto;
}

/* .wwg_top_right.wwg_top_right_top img {
    width: 260px;
    height: auto;
    bottom: 95px;
    transform: rotate(12deg);
}

.wwg_top_right.wwg_top_right_mid img {
    width: 290px;
    bottom: 115px;
}

.wwg_top_right.wwg_top_right_bot img {
    width: 338px;
    bottom: 110px;
    transform: rotate(-5deg);
} */


/* ----------------------------------- Второй раздел(с решениями) ------------------------------ */

.wwg_content_wrap {
    display: flex;
    justify-content: center;
    margin-top: 150px;
}

.wwg_content_wrap_container {
    width: 1460px;
}

.wwg_content_wrap_title {
    font-family: Graphik LCG;
    font-size: 80px;
    font-weight: 400;
    line-height: 88px;
    letter-spacing: -0.018em;
}

.wwg_content_checker {
    margin-top: 80px;
    width: 572px;
    height: 47px;
    display: flex;
    justify-content: space-between;
}

.wwg_content_checker h3 {
    width: 276px;
    padding: 16px 32px;
    text-align: center;
    background-color: #4C64E31A;
    cursor: pointer;
    border-radius: 14px;
    font-size: 15px;
    font-family: Graphik LCG;
    font-weight: 400;
}

.wwg_content_checker h3.active {
    background-color: #052289;
    color: white;
}

.wwg_content_main_wrap {
    margin-top: 47px;
    display: flex;
    justify-content: center;
}

.wwg_content_wrapper {
    width: 1460px;
    overflow: hidden;
}

.wwg_content_items_wrap {

    /* display: none; */
    position: relative;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
}

.wwg_content_items_wrap.active {
    border-radius: 32px;
    background-color: #F2F4FD;
    width: 100%;
    padding-left: 80px;
    padding-top: 55px;
    padding-bottom: 124px;
    margin-bottom: 168px;
    /* display: block; */
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    height: auto;
}

.wwg_content_items_wrap_section_name {
    display: flex;
    justify-content: space-between;
}

.wwg_content_section_integration {
    margin-top: 22px;
    height: 32px;
    font-family: Graphik LCG;
    font-size: 18px;
    font-weight: 400;
    line-height: 19.8px;
    letter-spacing: -0.5px;
    text-align: left;
    color: #98A1C3;
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
}

.wwg_content_section_integration img {
    margin-left: 8px;
}

.wwg_content_section_name {
    font-family: Graphik LCG;
    font-size: 50px;
    font-weight: 400;
    line-height: 55px;
    letter-spacing: -0.018em;
    width: 740px;
    height: 165px;
    margin-bottom: 103px;
    color: #232942;
}

.item_number {
    font-family: Bebas Neue Cyrillic;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #98A1C3;
    margin-right: 26px;
}

.wwg_content_item_title {
    font-size: 20px;
    color: #232942;
    margin-bottom: 16px;
    width: 489px;
    font-weight: 400;
}

.wwg_content_items {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.wwg_content_items_block {
    border-bottom: 1px solid #DDE3F7;
    padding-bottom: 18px;
    display: flex;
    width: 645px;
}

.wwg_content_item_text {
    display: flex;
    flex-direction: column;
    width: 645px;
    font-family: Graphik LCG;
}

/* Базовые стили для элементов */
.wwg_content_item_short {
    width: 484px;
    font-size: 14px;
    color: #586181;
    overflow: hidden;
    transition: max-height 1s ease, opacity 1s ease;
    max-height: 0;
    opacity: 0;
}

.wwg_content_item_pic {
    width: 700px;
    overflow: hidden;
    transition: max-height 1s ease, opacity 1s ease;
    max-height: 0;
    opacity: 0;
    display: flex;
    justify-content: center;
}

/* Стили для открытых элементов */
.wwg_content_item_short.open,
.wwg_content_item_pic.open {
    max-height: 1000px;
    /* Значение больше максимальной возможной высоты элемента */
    opacity: 1;
}

.wwg_content_prew_pic {
    max-height: 450px;
    position: absolute;
    top: 320px;
    max-width: 750px;
}

.wwg_content_case {
    display: flex;
    width: 832px;
    height: 136px;
    border-radius: 20px;
    background-color: #2546B9;
    transform: rotate(-2.5deg);
    justify-content: space-between;
    position: absolute;
    left: 24%;
    bottom: -60px;
}

.wwg_content_case_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 632px;
    margin-left: 42px;
}

.wwg_content_case_label {
    font-family: Graphik LCG;
    font-size: 14px;
    color: #F2F4FD80;
}

.wwg_content_case_title {
    font-family: Bebas Neue Cyrillic;
    font-size: 32px;
    color: #F2F4FD;
}

.wwg_content_item_plus_minus {
    width: 42px;
    height: 42px;
    background-color: #E960A12B;
    border-radius: 6px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    ;
}

.wwg_content_case_link {
    width: 96px;
    height: 128px;
    border-radius: 16px;
    background-color: #FFFFFF2B;
    margin-top: 4px;
    margin-right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wwg_content_case_link a {
    width: 96px;
    height: 128px;
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/working_with_guests/img/arrow-btn_wwg.png);
}

/* Стили для SVG иконки */
.plus_minus_icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    stroke-width: 4;
    transition: transform 0.5s ease;
}

.plus_line {
    stroke: black;
    stroke-width: 4;
    transition: transform 0.5s ease;
}

.plus_line.horizontal,
.plus_line.vertical {
    transform-origin: center;
    fill: none;
    stroke: #E960A1;
}

/* Стили для анимации */
.plus_minus_icon.open .plus_line.horizontal {
    transform: translateY(0);
}

.plus_minus_icon.open .plus_line.vertical {
    transform: rotate(90deg);
}

.swipe_block {
    display: none;
}

.tarifs_docs_header {
    display: flex;
    justify-content: center;
    font-family: 'GraphikLCG-Light';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #444C4F;
    padding-top: 36px;
    padding-bottom: 76px;
}

/* ------------------------------------------  АДАПТИВ 1460 -> 900 ------------------------------------------ */

@media (max-width: 1460px) {

    .lemma-wwg {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0px 4.7vw;
    }

    .lemma-wwg-container-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: start;
    }

    .lemma-wwg-title-wrap {
        padding: 0;
        width: 100%;
        border-radius: 32px;
        display: flex;
        font-size: 65px;
        line-height: 72px;
        background-color: unset;
        height: auto;
        margin-bottom: 100px;
        margin-top: 60px;
    }

    .lemma-wwg-title {
        width: 730px;
    }

    .lemma-wwg-title_content {
        display: flex;
        align-items: center;
    }

    .lemma-wwg-title-bot {
        margin: 0;
        line-height: 72px;
    }

    .lemma-wwg_background {
        display: none;
    }

    .lemma-wwg-button-wrap {
        width: 100%;
        border-radius: unset;
        background-color: unset;
        margin: 22px 0;
    }

    .lemma-wwg-button-backgroud {
        position: relative;
    }

    .lemma-wwg-button {
        width: auto;
        margin: 0;
    }

    .lemma-wwg-button_content {
        width: 100%;
    }

    .lemma-wwg-right_content {
        flex-direction: row;
        width: 100%;
        height: auto;
        gap: 15px;
        margin-left: unset;
    }

    .wwg_top_right {
        width: 49%;
        height: 197px;
        display: flex;
        justify-content: space-between;
    }

    .wwg_top_right_wr {
        width: 50%;
    }

    .wwg_top_right_text.wwg_top_right_top {
        width: 220px;
    }

    .wwg_top_right img {
        width: auto;
        bottom: unset;
        left: unset;
        height: 210px;
        position: unset;
    }

    .wwg_top_right_text.wwg_top_right_mid {
        margin-left: 0;
    }

    .wwg_top_right.wwg_top_right_mid img {
        right: unset;
        bottom: 45px;
        left: 23px;
    }

    .wwg_top_right.wwg_top_right_bot img {
        left: 0px;
        bottom: 70px;
    }

    .wwg_content_wrap_container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px 4.7vw;
    }

    .wwg_content_prew_pic {
        height: 233px;
        position: relative;
        top: 0;
    }

    .wwg_content_main_wrap {
        padding: 0px 4.7vw;
    }

    .wwg_content_wrapper {
        width: 100%;
    }

    .wwg_content_items {
        flex-direction: column;
        border-bottom: 1px solid #DDE3F7;
    }

    .wwg_content_items_block {
        border-bottom: none;
        width: 100%;
        justify-content: space-between;
    }

    .wwg_content_items_wrap.active {
        padding: 55px 43px 75px 64px;
        margin-bottom: 196px;
    }

    .wwg_content_items_wrap.active:last-of-type {
        margin-bottom: 0;
    }

    .wwg_content_items_wrap_section_name {
        flex-direction: column-reverse;
        align-items: center;
    }

    .wwg_content_section_name {
        font-size: 42px;
        line-height: 46px;
        width: 69vw;
        margin-top: 23px;
        margin-bottom: 75px;
        text-align: center;
        height: auto;
    }

    .wwg_content_section_name span:nth-child(1) {
        display: inline-block;
    }

    .wwg_content_section_integration {
        margin-top: 0;
        width: auto;
    }

    .wwg_content_item_text {
        width: 100%;
    }

    .wwg_content_case {
        bottom: -156px;
        width: 100%;
        transform: none;
        left: 0;
    }

    .tarifs_docsInBox_wrap .tarifs_iiko_body {
        grid-template-columns: repeat(4, 1fr);
        width: 90vw;
        overflow: scroll;
        scrollbar-width: none;
    }

    .tarifs_docs_body_el {
        width: 350px;
    }
}

/* ------------------------------------------  АДАПТИВ 900 -> 365 ------------------------------------------ */
@media (max-width: 1000px) {

    .lemma-wwg-right_content {
        column-gap: 10px;
    }

    .wwg_top_right_text.wwg_top_right_top,
    .wwg_top_right_text {
        width: 95%;
    }

    .wwg_top_right.wwg_top_right_top img,
    .wwg_top_right.wwg_top_right_bot img {
        left: unset;
        right: 90px;
        bottom: 50px;
    }

    .wwg_top_right.wwg_top_right_mid img {
        left: unset;
        right: 70px;
        bottom: 20px;
    }

    .tab-wrapper .tarifs_iiko_padding_h2 {
        font-size: 56px;
    }

    /* .lemma-wwg-container-grid{
        width: 92%;
        padding: 0;
    } */

}

@media (max-width: 900px) {

    .lemma-wwg-title {
        width: auto;
    }

    .tarifs_iiko_header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-top: 24px;
        padding-bottom: 32px;
        font-size: 13px;
    }

}

@media (max-width: 750px) {

    .lemma-wwg-title-wrap {
        font-size: 38px;
        font-weight: 400;
        line-height: 42px;
        letter-spacing: -0.02em;
        height: 168px;
        background-color: unset;
    }

    .lemma-wwg-title {
        width: 338px;
    }

    .lemma-wwg-title-bot {
        line-height: 42px;
    }

    .lemma-wwg-button-wrap {
        height: auto;
    }

    .lemma-wwg-button {
        height: 105px;
        font-size: 24px;
        line-height: 29px;
    }

    .lemma-wwg-button_content img {
        margin-left: 50px;
    }

    .lemma-wwg-container-grid {
        padding: 0;
    }

    .lemma-wwg-right_content {
        flex-direction: column;
        row-gap: 10px;
    }

    .wwg_top_right {
        width: 100%;
        height: 175px;
    }

    .wwg_top_right_text.wwg_top_right_top,
    .wwg_top_right_text {
        width: 55%;
    }

    .wwg_top_right.wwg_top_right_top img {
        width: 234px;
        bottom: 115px;
        left: 48%;
        right: unset;
    }

    .wwg_top_right.wwg_top_right_mid img {
        right: unset;
        bottom: 100px;
        left: 48%;
        width: 234px;
    }

    .wwg_top_right.wwg_top_right_bot img {
        left: 48%;
        right: 90px;
        bottom: 105px;
        right: unset;
        width: 234px;
    }

    .wwg_content_wrap {
        margin-top: 100px;
        /* width: 92vw; */
    }

    .wwg_content_wrapper {
        width: 92vw;
    }

    .wwg_content_wrap_title {
        font-size: 28px;
        line-height: 31px;
    }

    .wwg_content_checker {
        width: 95%;
        margin-top: 48px;
    }

    .wwg_content_checker h3 {
        padding: unset;
        width: 49%;
        font-size: 13px;
        align-content: center;
    }

    .wwg_content_section_integration {
        flex-direction: column;
        row-gap: 11px;
        height: auto;
    }

    .wwg_content_section_name {
        margin-top: 32px;
        font-family: Graphik LCG;
        font-size: 24px;
        line-height: 28.8px;
        text-align: center;
        width: 80vw;
    }

    .wwg_content_items_wrap.active {
        padding: 45px 18px;
        margin-bottom: 216px;
    }

    .wwg_content_item_text {
        width: 85%;
    }

    .wwg_content_item_short {
        width: auto;
    }

    .wwg_content_item_title {
        font-family: Graphik LCG;
        font-size: 16px;
        font-weight: 400;
        line-height: 19.2px;
        width: 85%;
    }

    .wwg_content_item_pic {
        justify-content: flex-start;
    }

    .wwg_content_prew_pic {
        height: 143px;
    }

    .wwg_content_case {
        height: 182px;
        bottom: -192px;
    }

    .wwg_content_case_title {
        font-size: 24px;
        line-height: 26.4px;
    }

    .wwg_content_case_text {
        width: auto;
        margin: 18px;
    }

    .wwg_content_case_link {
        height: auto;
        margin-bottom: 4px;
    }

    .main-content .pre_footer_form_wrap {
        margin-top: 100px;
    }

}

/* ------------------------------------------  АДАПТИВ разное------------------------------------------ */

@media (max-width: 650px) {
    .item_number {
        display: none;
    }

    .tab-wrapper .tarifs_iiko_padding_h2 {
        font-size: 28px;
        justify-content: center;
    }

    .tab-wrapper .filter {
        width: auto;
    }

    .tab-wrapper .filter li {
        padding: 12px 24px;
        width: max-content;
        flex-direction: column;
        line-height: normal;
    }


}

@media (max-width: 450px) {
    .wwg_top_right.wwg_top_right_top img {
        width: 200px;
        bottom: 120px;
        left: 125px;
    }

    .tarifs_docs_body_el {
        width: 317px;
    }

    .wwg_top_right_text.wwg_top_right_top,
    .wwg_top_right_text {
        width: 170px;
    }

    .wwg_top_right.wwg_top_right_mid img {
        bottom: 100px;
        left: 125px;
        width: 200px;
    }

    .wwg_top_right.wwg_top_right_bot img {
        left: 125px;
        bottom: 90px;
        width: 210px;
    }

    .tarifs_iiko_body_el_btn #iiko_tariff_button {
        width: 289px;
    }

    .swipe_block {
        display: block;
        margin-bottom: 34px;
    }

}

.deliv_content_section_integration img {
    max-width: 32px;
}