.dhwp-color-swap {
    position: relative;
    display: flex;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    justify-items: center;
    justify-content: center;
    width: 100%;
}
/* Use the first image as relative to hold the space. */
.dhwp-color-swap img.active {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    opacity: 1;
    z-index: 99 !important;
}
.dhwp-color-swap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    object-fit: cover;
    object-position: center;
    z-index: 1 !important;
    /* will-change: opacity; */
}