.attribute-swatch .item.color::before {
    content: attr(data-name);
    position: absolute;
    bottom: calc(100% + 7px);
    left: 0;
    z-index: 10;
    width: max-content;
    max-width: 200px;
    padding: 5px 8px;
    border-radius: 3px;
    background: #242424;
    color: #fff;
    font: 14px/1.3 sans-serif;
    text-align: left;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.attribute-swatch .item.color:hover,
.attribute-swatch .item.color:focus-visible {
    z-index: 11;
}

.attribute-swatch .item.color:hover::before,
.attribute-swatch .item.color:focus-visible::before {
    visibility: visible;
    opacity: 1;
}

.products .attribute.form {
    margin-top: 24px;
}

.products .attribute.form > fieldset:first-child {
    padding-bottom: 0;
}

.products .attribute.form > fieldset:first-child > label {
    margin-bottom: 8px;
}

.products .attribute.form > small {
    display: block;
}
