.woo-attr-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    margin: 0.5rem 0;
}
.woo-attr-group-label {
    width: 100%;
    font-weight: 600;
    font-size: 13px;
    margin: 4px 0 2px;
}
.woo-attr-swatch {
    position: relative;
    border-radius: 4px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background: #fff;
    cursor: pointer;
    transition: opacity 0.15s ease, box-shadow 0.15s ease;
    outline: none;
}

.woo-attr-swatch.type-image {
	width: 38px;
    height: 38px;
    position: relative;
    padding: 0;
}

.woo-attr-swatch.type-image:before,
.woo-attr-swatch.type-color:before {
    content: "";
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 4px;
}

.woo-attr-swatch.type-image.is-selected:before,
.woo-attr-swatch.type-color.is-selected:before {
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(../img/checkbox.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 14px auto;
}

.woo-attr-swatch:focus,
.woo-attr-swatch:hover {

}
.woo-attr-swatch.is-selected {

}
.woo-attr-swatch.is-selected:focus {

}
.woo-attr-swatch.type-color {
    width: 38px;
    height: 38px;
    position: relative;
    padding: 0;
    background: var(--swatch-color, #fff);
}
.woo-attr-swatch.type-color .swatch-inner {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.woo-attr-swatch.type-image img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 4px;
}
.woo-attr-swatch .swatch-label {
    font-size: 12px;
    white-space: nowrap;
}
/* Konfliktinės – rodom, bet pilkinam */
.woo-attr-swatch.is-conflict {
    opacity: 0.7;
}
/* „Hidden“ – slepiam netinkamus Size */
.woo-attr-swatch.is-hidden {
    display: none;
}
/* Net jei tema bando blokuoti: */
.woo-attr-swatch.is-disabled {
    opacity: 0.4;
    pointer-events: auto;
    cursor: pointer;
}
/*.woo-attr-swatch[title]:hover::after */
.woo-attr-swatch.type-color[title]:hover::after,
.woo-attr-swatch.type-image[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 44px; /* show above */
  left: 50%;
  transform: translateX(-50%);
  
  font-family: Cambria,Georgia,serif;
    color: #545454;
    letter-spacing: 1px;
    font-size: 14px;
    background-color: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4)!important;
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4)!important;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4)!important;
  padding: 4px 10px;
  white-space: nowrap;
  z-index: 99;
}