.prices-block .wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.prices-block .table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--stroke);
    border-radius: 10px;
    overflow: hidden;
    width: 76%;
}

.prices-block .string {
    display: flex;
    border-bottom: 1px solid var(--stroke);
}

.prices-block .string:first-child {
    background: var(--main-text-primary);
}

.prices-block .string:last-child {
    border-bottom: unset;
}

.prices-block .string-el {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.02em;
    color: var(--main-text-primary);
    padding: 15px 0px;
    width: 25%;
    /* text-wrap: nowrap; */
}

.prices-block .string>.string-el:first-child {
    padding-left: 20px;
}

.prices-block .string-el.five {
    width: 18%;
    font-size: 15px;
}

.prices-block .string-el.four {
    font-size: 14px;
}

.prices-block .string-el:nth-child(2) {
    flex-grow: 1;
}

.prices-block .string-el:last-child {
    max-width: 130px;
}

.prices-block .string:first-child .string-el {
    color: var(--background);
}

.prices-block .form-holder {
    display: flex;
    flex-direction: column;
    width: 23%;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: var(--background-secondary);
    padding: 30px;
    position: sticky;
    top: 150px;
    min-width: 350px;
}

.prices-block .form-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    margin-bottom: 20px;
}

.prices-block .form-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.02em;
    color: var(--main-text-primary);
    margin-bottom: 40px;
}

.prices-block .form-holder .btn {
    width: 100%;
}

.prices-block .privacy-policy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: unset;
}

.prices-block .form,
.prices-block .form-top {
    gap: 10px;
}

.prices-block .form-bot {
    margin-top: 10px;
}

@media (max-width: 1600px) {
    .prices-block .form-holder {
        top: 130px;
    }
}

@media (max-width: 1400px) {
    .prices-block .string-el {
        padding: 5px;
    }
}

@media (max-width: 1200px) {
    .prices-block .string-el {
        font-size: 14px;
    }

    .prices-block .wrapper {
        gap: 20px;
    }

    .prices-block .form-holder {
        top: 100px;
        padding: 15px;
        min-width: 300px;
    }
}

@media (max-width: 996px) {
    .prices-block .form-holder {
        top: 80px;
        min-width: 250px;
    }

    .prices-block .form-title {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .prices-block .form-desc {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .prices-block .privacy-policy {
        font-size: 12px;
    }

    .prices-block .string-el {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .prices-block .wrapper {
        flex-direction: column;
    }

    .prices-block .form-holder {
        position: static;
        width: 100%;
        min-width: unset;
    }

    .prices-block .table {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .prices-block .table {
        width: 100%;
        overflow: auto;
    }

    .prices-block .string {
        width: 650px;
    }

    .prices-block .string-el {
        text-wrap: wrap;
    }

    .prices-block .string {
        width: auto;
    }
}

@media (max-width: 498px) {
    .prices-block .string {
        width: 550px;
    }

    .prices-block .string {
        width: auto;
    }
}

@media (max-width: 400px) {
    .prices-block .string {
        width: 420px;
    }

    .prices-block .string {
        width: auto;
    }

    .prices-block .string-el {
        font-size: 11px;
    }
}

body.postid-1059 .prices-block .string:first-child {
    background: var(--main-text-primary);
    position: relative;
}

body.postid-1059 .prices-block .string:first-child .string-el:nth-child(2),
body.postid-1059 .prices-block .string:first-child .string-el:nth-child(3) {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.postid-1059 .prices-block .string:first-child .string-el:nth-child(2)::after,
body.postid-1059 .prices-block .string:first-child .string-el:nth-child(3)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: var(--background);
    opacity: 0.5;
}

body.postid-1059 .prices-block .string-el:last-child {
    max-width: unset;
}

body.postid-1059 .prices-block .string-el {
    display: flex;
    justify-content: center;
    text-align: center;
}

@media (max-width: 600px) {
    body.postid-1059 .prices-block .string-el {
        min-width: 140px;
    }

    body.postid-1059 .prices-block .string {
        width: 750px !important;
    }
}