.wieco-product-colours {
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid rgba(25, 230, 255, 0.34);
    border-radius: 14px;
    background: #0b1020;
    color: #fff;
}

.wieco-product-colours legend {
    padding: 0 7px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.wieco-product-colours legend span {
    color: #19e6ff;
}

.wieco-product-colours__help,
.wieco-product-colours__selected {
    margin: 0 0 14px;
    color: #cbd5e1;
    font-size: 0.91rem;
}

.wieco-product-colours__choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 9px;
}

.wieco-product-colours__choice {
    position: relative;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 2px 9px;
    align-items: center;
    min-height: 54px;
    padding: 9px;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #101b3a;
    color: #fff;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wieco-product-colours__choice:hover {
    border-color: #19e6ff;
}

.wieco-product-colours__choice:has(input:checked) {
    border-color: #19e6ff;
    box-shadow: 0 0 0 2px rgba(25, 230, 255, 0.18);
}

.wieco-product-colours__choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.wieco-product-colours__swatch {
    grid-row: 1 / span 2;
    width: 27px;
    height: 27px;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    background: var(--wieco-swatch);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.55);
}

.wieco-product-colours__name {
    overflow-wrap: anywhere;
    font-weight: 700;
    line-height: 1.15;
}

.wieco-product-colours__choice small {
    color: #94a3b8;
    font-size: 0.75rem;
}

.wieco-product-colours__choice.is-unavailable {
    opacity: 0.48;
    cursor: not-allowed;
}

.wieco-product-colours__selected {
    margin: 13px 0 0;
}

.wieco-product-colours__selected strong {
    color: #19e6ff;
}

@media (max-width: 520px) {
    .wieco-product-colours__choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

