.single-product div.product form.cart:has(> fieldset.shoes-kids-size) {
    flex-wrap: wrap;
}

.single-product div.product form.cart > fieldset.shoes-kids-size {
    box-sizing: border-box;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0 0 12px;
    border: 0;
}

.shoes-kids-size > legend {
    max-width: 100%;
    padding: 0;
    margin: 0 0 9px;
    color: #372e2e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.shoes-kids-size__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
    gap: 8px;
    max-width: 304px;
}

.shoes-kids-size .shoes-kids-size__option {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0;
}

.shoes-kids-size__option > input[type="radio"] {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
}

.shoes-kids-size__option > input[type="radio"] + span {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 5px;
    border: 1px solid #aeb9b1;
    border-radius: 6px;
    background: #fff;
    color: #304139;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

@media (hover: hover) {
    .shoes-kids-size__option:hover > input[type="radio"]:enabled:not(:checked) + span {
        border-color: #215441;
        background: #eef5f1;
    }
}

.shoes-kids-size__option > input[type="radio"]:checked + span {
    border-color: #215441;
    background: #215441;
    color: #fff;
    font-weight: 700;
}

.shoes-kids-size__option > input[type="radio"]:focus-visible + span {
    outline: 2px solid #215441;
    outline-offset: 2px;
}

.shoes-kids-size__option > input[type="radio"]:disabled + span {
    border-color: #ddd6d3;
    background: #f7f5f4;
    color: #796e69;
    text-decoration: line-through;
    cursor: not-allowed;
}

@media (forced-colors: active) {
    .shoes-kids-size__option > input[type="radio"]:checked + span {
        border-color: Highlight;
        background: Highlight;
        color: HighlightText;
        forced-color-adjust: none;
    }
}
