.design-chart {
    padding: 2rem 0 3.2rem;
    background: #fff;
    overflow: hidden;
}

.design-chart__inner {
    width: min(1030px, calc(100% - 2.1rem));
}

.design-chart__heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 0.1rem;
}

.design-chart__line {
    height: 0;
    border-top: 1px dashed #9c9ea3;
}

.design-chart__heading h2 {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 42px;
    line-height: 1;
    color: #1f2127;
    text-align: center;
}

.design-chart__subhead {
    margin: 0.35rem 0 1.15rem;
    text-align: center;
    color: #3d4047;
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.design-chart__dog {
    display: block;
    width: min(612px, 90%);
    margin: 0 auto 1.3rem;
}

.design-size-table {
    width: min(920px, 100%);
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 1px;
    color: #31333a;
    table-layout: fixed;
    font-size: clamp(0.88rem, 0.95vw, 1.04rem);
}

.design-size-table__label-col {
    width: 14%;
}

.design-size-table__size-col {
    width: 21.5%;
}

.design-size-table thead tr {
    position: relative;
}

.design-size-table thead tr::after {
    content: "";
    position: absolute;
    left: 130px;
    right: 0;
    top: 50%;
    border-top: 1px dashed #a5a7ad;
    z-index: 0;
}

.design-size-table thead th {
    border: 0;
    padding: 0 0 0.4rem;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 1;
}

.design-size-table thead th:first-child {
    width: 14%;
}

.design-size-table thead span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #3c3f46;
    color: #fff;
    font-weight: 700;
    font-size: 0.74rem;
    line-height: 1;
}

.design-size-table tbody th,
.design-size-table tbody td {
    padding: 0.32rem 0.4rem;
    vertical-align: top;
}

.design-size-table tbody th {
    text-align: left;
    font-weight: 500;
    color: #2e3138;
    background: transparent;
    border: 0;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.design-size-table tbody td {
    background: rgb(198 165 176 / 0.10);
    border: 0;
    font-size: 0.93rem;
    line-height: 1.15;
}

.design-size-table tbody em {
    display: block;
    margin-top: 16px;
    font-style: normal;
    color: #4b4f56;
}

.design-size-table__breeds th {
    font-size: 0.56rem;
    line-height: 1.05;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.design-size-table__breeds td {
    font-size: 0.66rem;
    line-height: 1.16;
}

@media (max-width: 900px) {
    .design-chart {
        overflow: hidden;
    }

    .design-chart__inner {
        width: calc(100% - 0.9rem);
    }

    .design-chart__heading {
        gap: 0.6rem;
    }

    .design-chart__heading h2 {
        font-size: 32px;
    }

    .design-chart__subhead {
        margin: 0.2rem 0 0.95rem;
        font-size: 16px;
    }

    .design-chart__dog {
        width: min(286px, 87%);
        margin-bottom: 0.95rem;
    }

    .design-size-table {
        width: 100%;
        border-spacing: 1px;
        font-size: 0.72rem;
    }

    .design-size-table thead tr::after {
        left: 22%;
        right: 11%;
    }

    .design-size-table thead span {
        width: 27px;
        height: 27px;
        font-size: 0.62rem;
    }

    .design-size-table tbody th,
    .design-size-table tbody td {
        padding: 0.22rem 0.2rem;
    }

    .design-size-table tbody th {
        font-size: 12px;
    }

    .design-size-table tbody td {
        font-size: 12px;
        line-height: 1.12;
    }

    .design-size-table__breeds th {
        font-size: 12px;
    }

    .design-size-table__breeds td {
        font-size: 12px;
        line-height: 1.1;
    }
}
