/* Keep the existing size labels while exposing native keyboard controls. */
#product .card__size-item input[type="radio"] {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

#product .card__size-item input[type="radio"]:focus-visible + span,
#product .size-popup-btn:focus-visible,
#table button.modal-close:focus-visible {
    outline: 2px solid #222;
    outline-offset: 3px;
}

#table button.modal-close {
    border: 0;
    border-radius: 0;
    font-family: inherit;
}

/* The existing mobile rule makes this duplicate transparent button clickable. */
#table .fancybox-close-small {
    display: none;
}
