﻿.prices__table table{
    width: 100%;
    border-collapse: collapse;
    border-radius: 4px;
    overflow: hidden;
    table-layout: fixed;
}
.prices__table th {
    background: var(--blue-accent);
    color: var(--white);
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    padding: 16px 24px;
}
.prices__table td {
    border-bottom: 2px solid var(--background);
    background: var(--white);
    font-family: var(--second-family);
    font-size: 14px;
    line-height: 143%;
    padding: 17px 24px;
    transition: all 0.3s;
}
.prices__table tr:hover td{
    color: var(--blue-accent);
}
.prices__table td:last-child {
    white-space: nowrap;
    font-size: 16px;
}
.prices__table th:last-child,
.prices__table td:last-child {
    width: 226px;
}
.prices__table th:first-child,
.prices__table td:first-child {
    width: auto;
}
.prices__btn{
    width: fit-content;
    min-width: 313px;
}
.prices__bottom{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
}
.prices__table--col3 th:last-child, .prices__table--col3 td:last-child{
    width: 313px;
}
.prices__table--col3 th:nth-child(2), .prices__table--col3 td:nth-child(2){
    width: 222px;
}

@media all and (max-width: 1200px){
    .prices__bottom{
        padding-top: 24px;
    }
    .prices__table--col3 th:first-child,
    .prices__table--col3 td:first-child{
        width: 440px;
    }
    .prices__table--col3{
        padding: 0 16px;
        margin: 0 -16px;
        overflow: hidden;
        overflow-x: auto;
    }
}

@media all and (max-width: 768px){
    .prices__table th{
        font-size: 16px;
        padding: 16px;
    }
    .prices__table td{
        padding: 12px 16px;
    }
    .prices__table th:first-child,
    .prices__table td:first-child {
        width: 272px;
    }
    .prices__table{
        padding: 0 16px;
        margin: 0 -16px;
        overflow: hidden;
        overflow-x: auto;
    }
    .prices__btn{
        width: 100%;
        min-width: 100px;
    }
}