/*
 * CT_PRODUCT_DETAIL_02E_COLOR_SWATCH_CIRCLE_SAFE
 * Pallino colore scheda prodotto coerente con il catalogo.
 * Scope esclusivo body#product: il catalogo non viene modificato.
 */
html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"] {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 32px !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
    column-gap: 10px !important;
    row-gap: 6px !important;
    box-sizing: border-box !important;
}

html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
> .control-label {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
label[data-ct-product-color-option-02e="active"] {
    display: inline-flex !important;
    flex: 0 0 32px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    cursor: pointer !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
label[data-ct-product-color-option-02e="active"]::before,
html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
label[data-ct-product-color-option-02e="active"]::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
}

html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
input.input-color {
    position: absolute !important;
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
[data-ct-product-color-circle-02e="active"] {
    display: block !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    background-image: none !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 0 0 !important;
    box-shadow: 0 0 0 1px #c9b28c !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    transform: none !important;
    transition: box-shadow 120ms ease, transform 120ms ease !important;
    box-sizing: content-box !important;
}

html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
input.input-color:checked
+ [data-ct-product-color-circle-02e="active"],
html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
input.input-color:checked
~ [data-ct-product-color-circle-02e="active"] {
    box-shadow:
        0 0 0 1px #b38b56,
        0 0 0 3px rgba(179, 139, 86, 0.18) !important;
    transform: scale(1.03) !important;
}

html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
label[data-ct-product-color-option-02e="active"]:hover
[data-ct-product-color-circle-02e="active"],
html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
input.input-color:focus-visible
+ [data-ct-product-color-circle-02e="active"],
html body#product
.product-variants-item[data-ct-product-color-swatch-02e="active"]
input.input-color:focus-visible
~ [data-ct-product-color-circle-02e="active"] {
    box-shadow:
        0 0 0 1px #a77c43,
        0 0 0 3px rgba(167, 124, 67, 0.22) !important;
}

@media (max-width: 767px) {
    html body#product
    .product-variants-item[data-ct-product-color-swatch-02e="active"] {
        column-gap: 8px !important;
    }
}
