.product-thumbnail {
    margin-bottom: 23px;
    flex-wrap: wrap;
    img {
        width: 100%;
    }
    & > a {
        width: 100%;
        z-index: 1;
    }
    .btn .svgic {
        color: #fff;
        width: 16px;
        height: 16px;
        margin: 0 auto;
    }
    .add {
        margin: 0;
    }
    .subimage-true {
        .cover-image {
            &:not(:first-of-type) {
                top: 0;
                left: 0;
                opacity: 0;
                z-index: 0;
                width: 100%;
                position: absolute;
            }
            &.pmhovered {
                opacity: 1;
                z-index: 2;
            }
        }
        &:has(.pmhovered) .cover-image:not(.pmhovered) {
            opacity: 0;
            visibility: hidden;
        }
    }
    .cover-image:first-of-type + .pmimage-switcher {
        display: none;
    }
    .active-switcher span:after {
        transform: translateY(0);
    }
    .pmimage-switcher {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 12;
        align-items: stretch;
        &:hover:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background-color: rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease-in-out;
        }
        span {
            display: block;
            flex-grow: 1;
            position: relative;
            &:after {
                transform: translateY(5px);
                background: rgba(0, 0, 0, 0.1);
                content: '';
                display: block;
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 4px;
                transition: all 0.2s ease-in-out;
                z-index: 2;
            }
            &:hover:after {
                background: rgba(0, 0, 0, 0.4);
                transform: translateY(0);
            }
        }
    }
}