/* TABLE */

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.table__box {
    padding: 68px 88px 53px 26px;
    background-color: #fff;
    margin-bottom: 50px;
}

.table__th {
    padding-bottom: 15px;

    font-size: 13px;
    font-weight: 700;
    color: #000000;
    text-align: left;

    border-bottom: 1px solid #CEDBE1;
}

.table__th:last-of-type {
    padding-right: 50px;
}

.table__tbody .table__tr {
    height: 86px;
}

.table__td {
    padding-top: 4px;
    line-height: 23px;
    font-size: 13px;
    color: #23395B;
    vertical-align: top;
    background-color: #ffffff;
    transition: 0.4s;
}

.table__td:nth-child(2) {
    position: relative;
    z-index: 1;
}

.table__td:nth-child(3) {
    position: relative;
    z-index: 2;
}

.table__td:nth-child(4) {
    position: relative;
    z-index: 3;
}

.table__td--brand {
    width: 190px;
    padding-top: 12px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #212121;
    letter-spacing: 0.04em;
}

.table__td--name {
    position: relative;
    padding: 10px 16px 15px 16px;
    vertical-align: top;
}

.table__name-box {
    display: flex;
}

.table__td--cat {
    width: 160px;
}

.table__name-text {
    position: relative;
    top: -4px;
    display: inline-block;
    margin-left: 28px;
    vertical-align: top;
    line-height: 23px;
}

.table__tr {
    margin-bottom: 15px;
    cursor: pointer;
}

.table__tr:first-of-type .table__td:first-of-type {
    pointer-events: none;
}

.table__tr:first-of-type:hover .table__td:not(:first-of-type) {
    box-shadow: 10px 10px 20px 0px rgba(206,219,225,0.5);
}

.table__tr:not(:first-of-type):hover .table__td {
    box-shadow: 10px 10px 20px 0px rgba(206,219,225,0.5);
}

.table__thead {
    margin-bottom: 20px;
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
    /* TABLE */
    .table__box {
        padding: 68px 26px 53px 26px;
        margin-bottom: 50px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* TABLE */
    .table__box {
        padding: 26px;
    }

    .table__thead {
        display: none;
    }

    .table__td {
        display: block;
        width: calc(100% - 100px);
        padding: 2px 0 2px 100px;
    }

    .table__td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: 700;
        color: #000000;
    }

    .table__td--name {
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .table__td--brand {
        font-size: 20px;
    }

    .table__td--brand:before {
        left: 35px;
        font-size: 13px;
        font-weight: 700;
    }

    .table__tr:first-of-type .table__td:first-of-type {
        padding-bottom: 15px;
    }

    .table__tr:first-of-type .table__td:first-of-type:before {
        display: none;
    }

    .table__tr {
        display: block;
        height: auto !important;
        margin-bottom: 50px;
        position: relative;
    }

    .table__tr::after {
        content: "";
        position: absolute;
        bottom: -29px;
        width: 100%;
        height: 4px;
        background-color: #f5f6f7;
    }

    .table__tr:last-of-type::after {
        content: none;
    }

    .table__name-text {
        margin-left: 10px;
    }
}

@media only screen and (max-width: 767px) {
    /* TABLE */
    .table__box {
        padding: 15px;
    }

    .table__thead {
        display: none;
    }

    .table__td {
        display: block;
        width: 100%;
        padding: 15px 0 15px 0;
        width: 100% !important;
    }

    .table__tbody {
        display: block;
    }

    .table__td:before {
        content: attr(data-label);
        position: absolute;
        top: -5px;
        left: 0;
        font-weight: 700;
        color: #000000;
    }

    .table__td--name {
        display: block;
    }

    .table__td--brand {
        font-size: 20px;
    }

    .table__td--brand:before {
        left: 35px;
        font-size: 13px;
        font-weight: 700;
    }

    .table__tr:first-of-type .table__td:first-of-type {
        padding-bottom: 15px;
    }

    .table__tr:first-of-type .table__td:first-of-type:before {
        display: none;
    }

    .table__tr {
        height: auto !important;
        margin-bottom: 25px;
        position: relative;
        display: block;
    }

    .table__tr::after {
        content: "";
        position: absolute;
        bottom: -14px;
        width: 100%;
        height: 4px;
        background-color: #f5f6f7;
    }

    .table__tr:last-of-type::after {
        content: none;
    }

    .table__name-text {
        margin-left: 10px;
    }

    .table__img {
        margin-top: 5px;
    }

    .table {
        display: block;
        border-spacing: 0;
        width: 100%;
    }
}