.tariffContainer {
    margin-top: 5vh;
    font-weight: 500;
}

.tariffTitle {
    font-size: 28px;
    line-height: 37px;
    color: #000328;
    margin-bottom: 2vh;
}
.tariffTitle a {
    border: 1px #000328 solid;
    border-radius: 16px;
    padding: 8px 30px;
    font-size: 16px;
    font-weight: 400;
}
.tariffTitle a.desc{
display: block;
}
.tariffContainer a.mob{
    display: none;
}
.tariffTitle.flex {
    display: flex;
    justify-content: space-between;
}

.tariffsBlock {
    border-bottom: 1px #00000066 solid;
    padding-bottom: 2vh;
    margin-top: 2vh;
}

.tariffsBlock:last-child {
    border-bottom: none;
}

.tariffsBlock:first-child {
    margin-top: 0;
}

.tariffsBlockTitles {
    display: flex;
    gap: 1vw;
    text-transform: uppercase;
    margin-bottom: 3vh;
}

.tariffsBlockTitle {
    font-size: 18px;
    font-family: 'Druk Cyr';
    line-height: 23px;
    flex: 1;
    background-color: #FF2B6B;
    border-radius: 13px;
    text-align: center;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #FFFFFF;
}

.tariffsBlockTitle.desc {
    display: flex;
}

.tariffsBlockTitle.mob {
    display: none;
}

.tariffsBlockTitle.solid {
    background-color: #FFFFFF;
    border: 1px #000328 solid;
}

.tariffsBlockTitle.green {
    background-color: #40DDB7;
}

.tariffsBlockTitle .sub {
    font-size: 48px;
    line-height: 61px;
}

.tariffsBlockTitle .green {
    color: #40DDB7;
}

.tariffsBlockTitle .black {
    color: #000328;
}

.tariffsBlockTitle .full {
    font-size: 23px;
    line-height: 33px;

}

.tariffsBlockCarts.desc {
    display: flex;
    gap: 1.5vw;
}

.tariffsBlockCarts.mob {
    display: none;
}

.tariffsBlockCart {

    position: relative;
    flex: 1;
    /*width: 371px;*/
    background-size: cover;
    /*background-position: center;*/
    border-radius: 16px;
    overflow: hidden;

}
.tariffsBlockCart.h1{
    height: 523px;
}
.tariffsBlockCart.border{
    border: 1.5px #e0e5f1 solid;
}

.tariffsBlockCart.h2 {
    height: 451px;
}
.tariffsBlockCart.h3 {
    height: 632px;
}
.tariffsBlockCart.h4 {
    height: 679px;
}
.tariffsBlockCart.h5 {
    height: 419px;
}
.tariffsBlockCart.h6 {
    height: 587px;
}
.tariffsBlockCart.h7 {
    height: 689px;
}
.tariffsBlockCartButtons {
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0 16px;
    box-sizing: border-box;
}

.tariffsBlockCartButtons button {
    flex: 1;
    margin: 0 6px;
    padding: 10px 0;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
}

.connect-btn {
    background-color: #00e5b0;
    color: #000;
}

.connect-btn:hover {
    background-color: #00c799;
}

.details-btn {
    background-color: #fff;
    color: #000;
    border: 1px solid #000328 !important;
}

.details-btn:hover {
    background-color: #ddd;
}


@media (max-width: 768px) {
    .tariffsBlockTitle .sub {
        font-size: 26px;
        line-height: normal;
    }

    .tariffsBlockTitle {
        font-size: 11px;
        padding: 10px 11px;

    }

    .tariffsBlockTitle .full {
        font-size: 13px;
        line-height: normal;
    }
    .embla {
        /*max-width: 330px;*/
        width: 100%;
        --slide-spacing: 1rem;
        --slide-size: 100%;
    }

    .embla__viewport {
        overflow: hidden;
    }

    .embla__container {
        display: flex;
        touch-action: pan-y pinch-zoom;
        margin-left: calc(var(--slide-spacing) * -1);
    }

    .embla__slide {
        flex: 0 0 var(--slide-size);
        padding-left: var(--slide-spacing);
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 500px) {

    .tariffTitle a.desc{
        display: none;
    }
    .tariffContainer a.mob{
        display: block;
        border: 1px #000328 solid;
        border-radius: 16px;
        padding: 8px 30px;
        font-size: 16px;
        font-weight: 400;
        text-align: center;
        width: 100%;
    }

    .tariffsBlockTitle.mob {
        display: flex;
        /*align-items: flex-end;*/
    }

    .tariffsBlockTitle.desc {
        display: none;
    }

    .tariffsBlockCarts.desc {
        display: none;
    }

    .tariffsBlockCarts.mob {
        display: flex;
    }

    .tariffsBlockCart {
        width: 80%;
    }

    .tariffsBlockCart.h1{
        height: 449px;
    }
    .tariffsBlockCart.h2 {
        height: 370px;
    }
    .tariffsBlockCart.h3 {
        height: 506px;
    }
    .tariffsBlockCart.h6 {
        height: 575px;
        width: 90%;
    }
    .tariffsBlockCart.h4 {
        height: 606px;
    }
    .tariffsBlockCart.h7 {
        height: 606px;
    }
    .tariffsBlockTitle:has(.full) {
        align-items: flex-start;

    }
}
