.prices_t {
    padding: var(--px15);
    border-radius: 5px;
}

.prices_block_container {
    display: flex;
    gap: var(--px30);
}

.prices_table {
    gap: var(--px10);
    display: grid;
    grid-template-columns: 21% 60% 19%;
    max-width: 1140px;
    width: 100%;
}

.prices_table_head {
    background: var(--primary);
    border: 1px solid var(--primary);
}

.prices_table_elem {
    background: var(--bg_sec);
    border: 1px solid var(--bg_stroke);
}

.prices_form {
    background: url(images/bg.svg) var(--bgs);
    max-width: 360px;
    width: 100%;
    min-height: 358px;
}

@media (max-width:1260px){
    .prices_block_container {
        flex-direction: column;
    }
    .prices_form {
        min-height: auto;
    }
    .prices_form, .prices_table {
        max-width: none;
    }
    .prices_table {
        width: calc(100% - 10px - 10px);
    }
}

@media (max-width:900px){
    .prices_table {
        width: 100%;
        grid-template-columns: 1fr 2fr 1fr;
    }
}

@media (max-width:700px){
    .prices_table * {
        font-size: 15px;
    }
}

@media (max-width:550px){
    .prices_table * {
        font-size: 14px;
    }
}

@media (max-width:480px){
    .prices_table {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 0;
    }
    .prices_table_elem_last {
        margin-bottom: 10px;
        border-radius: 0 0 5px 5px;
        border-top: none;
    }
    .prices_table_elem_first {
        padding-bottom: 0;
        border-radius: 5px 5px 0 0;
        border-bottom: none;
    }
    .prices_table_elem_middle {
        border-radius: 0;
        border-bottom: none;
        border-top: none;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .prices_table_head {
        display: none;
    }
}