:is(.adult-shoe-size-chart, .kids-shoe-size-chart) {
    --size-chart-border: #d3ddd6;
    min-width: 0;
    margin-block: clamp(24px, 3.5vw, 40px);
    color: #293730;
}

:is(.adult-shoe-size-chart, .kids-shoe-size-chart) > h2 {
    margin: 0 0 8px;
    color: #243f34;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

:is(.adult-shoe-size-chart__note, .kids-shoe-size-chart__note) {
    max-width: 65ch;
    margin: 0 0 16px;
    color: #4a5750;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

:is(.adult-shoe-size-chart__tables, .kids-shoe-size-chart__tables) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 212px), 1fr));
    align-items: start;
    gap: clamp(10px, 1.5vw, 16px);
}

:is(.adult-shoe-size-chart__table, .kids-shoe-size-chart__table) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--size-chart-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    table-layout: fixed;
    background: #fff;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
}

:is(.adult-shoe-size-chart__table, .kids-shoe-size-chart__table) :is(th, td) {
    padding: 7px 9px;
    vertical-align: middle;
}

:is(.adult-shoe-size-chart__table, .kids-shoe-size-chart__table) thead th {
    border-bottom: 1px solid var(--size-chart-border);
    background: #eaf3ed;
    color: #214437;
    font-weight: 700;
    overflow-wrap: anywhere;
}

:is(.adult-shoe-size-chart__table, .kids-shoe-size-chart__table) thead th:first-child {
    width: 35%;
}

:is(.adult-shoe-size-chart__table, .kids-shoe-size-chart__table) tbody :is(th, td) {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

:is(.adult-shoe-size-chart__table, .kids-shoe-size-chart__table) tbody th {
    font-weight: 650;
}

:is(.adult-shoe-size-chart__table, .kids-shoe-size-chart__table) tbody tr:nth-child(even) {
    background: #f5f8f6;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    min-width: 0;
    margin-block-start: 12px;
    border: 1px solid #d3ddd6;
    border-radius: 8px;
    background: #fff;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 7px;
    color: #215441;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    list-style: none;
    overflow-wrap: anywhere;
    cursor: pointer;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) > summary::-webkit-details-marker {
    display: none;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) > summary::after {
    flex: none;
    width: 7px;
    height: 7px;
    margin-inline-end: 2px;
    border-inline-end: 1.5px solid currentColor;
    border-block-end: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    content: "";
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) > summary:is(:hover, :focus-visible) {
    background: #f0f6f2;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) > summary:focus-visible {
    outline: 2px solid #215441;
    outline-offset: -3px;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details)[open] > summary {
    border-bottom: 1px solid #d3ddd6;
    border-end-start-radius: 0;
    border-end-end-radius: 0;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details)[open] > summary::after {
    transform: translateY(2px) rotate(225deg);
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) > :is(.adult-shoe-size-chart, .kids-shoe-size-chart) {
    margin: 0;
    padding: 12px;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) :is(.adult-shoe-size-chart, .kids-shoe-size-chart) > h2 {
    font-size: 18px;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) :is(.adult-shoe-size-chart__tables, .kids-shoe-size-chart__tables) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 216px), 1fr));
    gap: 10px;
}

:is(.adult-shoe-size-chart__details, .kids-shoe-size-chart__details) :is(.adult-shoe-size-chart__table, .kids-shoe-size-chart__table) :is(th, td) {
    padding-block: 6px;
}

.kids-shoe-size-chart__tables {
    max-width: 780px;
}
