/*
 Theme Name:   Twenty Twenty-Four Child
 Description:  Дочірня тема для Twenty Twenty-Four
 Author:       PineDev
 Template:     twentytwentyfour
 Version:      1.0
*/
@media (max-width: 901px) {
    .main-section{
        height: fit-content!important;
        min-height: unset!important;
        overflow: hidden!important;
    }
    .main-section__top {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: center;
        grid-template-columns: none;
        grid-template-rows: none;
        grid-gap: 1.5rem;
        padding: 2rem 1.5rem;
        /*height: fit-content;*/
        position: relative;
    }

    .main-section__top .pagination {
        position: relative;
        order: 2;
    }

    .main-section__top > a.logo {
        width: 100%;
        margin-bottom: 10px;
    }

    .main-section__top > h3 {
        width: 100%;
        font-family: 'Grtsk Tera', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 100%;
        text-align: center;
        text-transform: uppercase;
    }

    .btn {
        font-family: 'Grtsk Tera', sans-serif;
        font-weight: 600;
        font-size: 12px;
        line-height: 100%;
        text-transform: uppercase;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .additional-options{
        padding-left: 20px;
        padding-right: 20px;
        justify-content: space-around;
        width: 100%;
        font-family: 'Grtsk Tera', sans-serif;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        text-align: left;
    }
    .question-mark{
        margin-left: auto;
    }

    .btn.black {
        font-family: 'Grtsk Tera', sans-serif;
        font-weight: 600;
        font-size: 16px;
        text-transform: uppercase;
        height: 55px!important;
    }

    .info {
        position: relative;
        left: unset;
        transform: translate(0, 0);
        bottom: unset;
        margin-top: 50px;
        padding: 26px 50px;
        text-align: center;
        font-weight: 400;
        font-size: 14px !important;
        line-height: 1.3;
    }

    .main-section__top > .pagination {
        margin-top: 58px;
        width: 100%;
    }

    .main-section__body > h5 {
        font-family: 'Grtsk Tera', sans-serif;
        font-weight: 600;
        font-size: 16px;
        line-height: 100%;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 30px;
    }

    button.back {
        width: auto;
        position: absolute;
        left: 0;
        top: -5px;
    }

    .wrapper:has(.system-option) {
        flex-wrap: wrap;
    }

    .system-option {
        width: 100%;
        min-width: auto;
    }

    .system-option span {
        font-family: 'Grtsk Tera', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 100%;
        text-transform: uppercase;
        margin-top: 25px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    #brand .brand-option img {
        width: 100%;
        margin: 0 auto;
    }

    #brand .wrapper:has(.brand-option) {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    main {
        overflow-x: hidden;
    }

    .reconnection__content h2 {
        font-size: 16px;
    }

    .product-swiper article.swiper-slide {
        display: flex;
        flex-direction: column;
        padding: 16px 0 0 0;
        height: fit-content;

    }

    .product-swiper .swiper-slide__bottom {
        position: relative;
    }

    .product-swiper .swiper-slide h6 {
        position: relative;
        left: unset;
        transform: translateX(0);
        top: unset;
        width: 100%;
        margin-bottom: 10px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .obl {
        padding: 16px;
    }

    .swiper-slide__ul-1 {
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 16px;
        margin-left: 0;
    }

    .swiper-slide__bottom {
        padding: 16px !important;
        margin-left: 0;
        height: fit-content !important;
    }

    .product-swiper li {
        margin-bottom: 8px;
    }

    .total-amount {
        display: flex;
        flex-direction: column;
    }

    .product-swiper {
        padding: 0 40px 0 0 !important;
    }

    .info::after, .info::before {
        content: "";
        position: absolute;
        top: 50%;
        bottom: 0;
        width: 1.6rem;
        height: 130%;
        transform: translateY(-50%);
    }

    .wp-block-oib-blocks-yes-or-no {
        padding: 1.4rem;
    }

    .info {
        font-size: 14px;
    }

    .main-section .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #form {
        width: 100%;
    }

    .main-section__top {
        padding-left: 0;
        padding-right: 0;
    }
    .main-section__img
    {
        bottom: unset!important;
        top: 92%!important;
    }
    .main-section__span{
        bottom: unset!important;
        top: 93%!important;
    }
    .reconnection{
        width: 100%;
    }
    .reconnection__content ul li{
        font-size: 16px;
    }
    .reconnection__bottom li{
        font-size: 16px;
        line-height: unset;
    }
    #reconnection-more .wrapper{
        width: 100%;
    }
    .wrapper:has(.btn){
        margin-top: 60px;
    }
    .tooltip{
        width: 290px;
    }
}
.product-swiper .swiper-slide{
    overflow: hidden;
}
.helpcrunch-iframe-wrapper{
    display: none!important;
}
.rngst_phone_button{
    bottom: -30px!important;
    right: -30px!important;
}
.main-section__span{
    right: 50%;
    transform: translateX(50%);
    bottom: 6rem;
}
@media (min-width: 902px){
    #additional-section>h5{
        font-size: 18px;
    }
}