.glozin-linked-variant__attribute-value.wcboost-variation-swatches--rounded,
.glozin-linked-variant__attribute-value.wcboost-variation-swatches--square {
    --wcboost-swatches-item-gap: 9px;
    --wcboost-swatches-item-padding: 3px;
}

.glozin-linked-variant__attribute-value .wcboost-variation-swatches__item {
    --wcboost-swatches-item-padding: 3px;
    
    box-shadow: none;
    border: 1px solid var(--gz-border-color);
    width: auto;
    min-width: var(--wcboost-swatches-item-width);
    height: var(--wcboost-swatches-item-height);
}

.glozin-linked-variant__attribute-value .wcboost-variation-swatches__item.out-of-stock {
    cursor: pointer;
    position: relative;
    opacity: 0.8;
}

.glozin-linked-variant__attribute-value .wcboost-variation-swatches__item.out-of-stock  .wcboost-variation-swatches__name {
    width: 0;
    height: 0;
    position: unset;
    clip: inherit;
    clip-path: inherit;
    margin: 0;
}

.glozin-linked-variant__attribute-value .wcboost-variation-swatches__item.out-of-stock .wcboost-variation-swatches__name:after {
    content: "";
    height: 100%;
    width: 100%;
    background: linear-gradient(to top left, transparent calc(50% - 1px), #ddd, transparent calc(50% + 1px)) no-repeat;
    display: block;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.glozin-linked-variant__attribute-value .wcboost-variation-swatches__item:hover {
    border-color: var(--gz-color-dark);
    background-color: transparent;
}

.glozin-linked-variant__attribute-value.wcboost-variation-swatches--image .wcboost-variation-swatches__item {
    --wcboost-swatches-item-padding: 0px;
    
    width: var(--wcboost-swatches-item-width);
    height: var(--wcboost-swatches-item-height);
    min-width: auto;
}

.glozin-linked-variant__attribute-value .wcboost-variation-swatches__item img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    z-index: -1;
    border-radius: inherit;
}

.wcboost-variation-swatches--select select {
    min-width: 240px;
}