/* JONET Variation Swatches */
.jonet-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
	
}

.jonet-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    height: 55px;
    padding: 0 10px;
    border-radius: 0;
    border: 1px solid #ccc;
    
    font-weight: 400;
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    user-select: none;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.jonet-swatch span {
    pointer-events: none;
}

ul.jonet-swatches li {
    margin-left: 0 !important;
}

.jonet-swatch:hover {
    border-color: #999;
}

.jonet-swatch.selected {
    border-color: #333;
    border-width: 2px;
    padding: 0 9px;
}

.jonet-swatch.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    position: relative;
}

.jonet-swatch.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1px;
    background: #999;
    transform: rotate(-45deg);
}

/* Label ovanför */
.variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.variations .label {
    margin-bottom: 6px;
    padding-left: 0 !important;
}

.variations td.value {
    padding-left: 0 !important;
}

.variations .label label,
.variations th label {
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px !important;
}

.variations th.label {
    padding-left: 0 !important;
}

.reset_variations {
    display: none !important;
}

@media (max-width: 549px) {
    .jonet-swatch {
        min-width: 36px;
        height: 34px;
        font-size: 12px;
    }
}