.product-colors-wrapper .current-product-color {
    display: none;
}

#product .product-colors-wrapper .current-product-color {
    display: block;
}

.product-colors-wrapper .current-product-color .label {
    color: #1F1E1D;
    font-size: 16px;
    font-weight: 400;
}

.product-colors-wrapper .current-product-color .value {
    color: #1E1E20;
    font-size: 16px;
    font-weight: 600;
}

.product-colors-wrapper .product-colors {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.product-colors-wrapper .product-colors a {
    display: block;
    width: 36px;
    height: 36px;
    padding: 2px;
    border: 1px solid transparent;
    border-radius: 50%;
}

#product .product-colors-wrapper .product-colors a#selected {
    border: 1px solid #95928D;
}

.product-colors-wrapper .product-colors a .product-color {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

#product .product-colors a {
    position: relative;
}

#product .product-colors a:hover::after {
    content: attr(title);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1E1E20;
    color: #fff;
    padding: 5px 10px;
    border-radius: 14px;
    white-space: nowrap;
    font-size: 12px;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease-in-out;
}

#product .product-colors a:hover::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1E1E20 transparent transparent transparent;
    z-index: 9;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease-in-out;
}

#product .product-colors a::after,
#product .product-colors a::before {
    opacity: 0;
    visibility: hidden;
}

#product .product-colors a:hover::after,
#product .product-colors a:hover::before {
    opacity: 1;
    visibility: visible;
}

.product-miniature .product-colors-wrapper .product-colors {
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 0;
}

.product-miniature .product-colors-wrapper .product-colors a {
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 50%;
}

@media (max-width: 767px) {
    .product-colors-wrapper .product-colors {
        gap: 8px;
    }

    .product-colors-wrapper .product-colors a {
        display: block;
        width: 28px;
        height: 28px;
    }

    .product-colors-wrapper .current-product-color .label,
    .product-colors-wrapper .current-product-color .value {
        font-size: 14px;
    }

    .product-miniature .product-colors-wrapper .product-colors a {
        width: 12px;
        height: 12px;
    }

    .product-miniature .product-colors-wrapper .product-colors {
        gap: 2px;
    }
}